-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
108 lines (94 loc) · 3.1 KB
/
pyproject.toml
File metadata and controls
108 lines (94 loc) · 3.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[project]
name = "RepoAuditor"
description = "Add your description here"
readme = "README.md"
authors = [
{ name = "Scientific Software Engineering Center at Georgia Tech", email = "sse-center@gatech.edu" },
]
requires-python = ">= 3.10"
dependencies = [
"dbrownell-common>=0.16.0",
"gitpython>=3.1.44",
"pluggy>=1.5.0",
"requests>=2.32.3",
"typer>=0.15.3",
"typer-config[yaml]>=1.4.2",
]
dynamic = ["version"]
classifiers = [
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
]
[project.license]
text = "MIT"
[project.urls]
Homepage = "https://github.com/gt-sse-center/RepoAuditor"
Documentation = "https://github.com/gt-sse-center/RepoAuditor"
Repository = "https://github.com/gt-sse-center/RepoAuditor"
[project.scripts]
RepoAuditor = "RepoAuditor:EntryPoint.app"
repoauditor = "RepoAuditor:EntryPoint.app"
[project.entry-points.RepoAuditor]
GitHubPlugin = "RepoAuditor.Plugins.GitHubPlugin"
CommunityStandardsPlugin = "RepoAuditor.Plugins.CommunityStandardsPlugin"
ScientificSoftwarePlugin = "RepoAuditor.Plugins.ScientificSoftwarePlugin"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"autogitsemver>=0.8.0",
"pre-commit>=4.2.0",
"pyfakefs>=5.8.0",
"pytest>=8.3.5",
"pytest-cov>=6.1.1",
"ruff>=0.11.8",
"syrupy>=4.9.1",
"mkdocs-material>=9.6.16",
"termynal>=0.13.1",
]
[tool.hatch.version]
path = "src/RepoAuditor/__init__.py"
[tool.pytest.ini_options]
addopts = "--verbose -vv --capture=no --cov=RepoAuditor --cov-fail-under=95.0 --cov-report html --cov-report term --cov-report xml:coverage.xml"
python_files = [
"**/*Test.py",
]
[tool.ruff]
line-length = 110
[tool.ruff.lint]
exclude = ["tests/**"]
select = ["ALL"]
ignore = [
"ANN002", # Missing type annotation for `*args`
"ANN003", # Missing type annotation for `**kwargs`
"BLE001", # Do not catch blind exception: `Exception`
"COM812", # Trailing comma missing
"D104", # Missing docstring in public package
"D106", # Missing docstring in public nested class
"D107", # Missing docstring in `__init__` method
"D202", # No blank lines allowed after function docstring
"E501", # Line too long
"FBT003", # Boolean positional argument in function call
"I001", # Import block is un-sorted or un-formatted
"N802", # Function name `xxx` should be lowercase
"N999", # Invalid module name
"RSE102", # Unnecessary parentheses on raise exception
"S101", # Use of assert detected
"TC006", # Add quotes to type expression in `typing.cast()`
"UP007", # Use `X | Y` for type annotations
"UP032", # Use f-string instead of `format` call
"UP038", # Use `X | Y` in `isinstance` call instead of `(X, Y)`
]
[tool.ruff.lint.mccabe]
max-complexity = 15
[tool.ruff.lint.pylint]
max-args = 10
max-branches = 20
max-returns = 20