-
Notifications
You must be signed in to change notification settings - Fork 178
Expand file tree
/
Copy pathpyproject.toml
More file actions
129 lines (122 loc) · 3.62 KB
/
pyproject.toml
File metadata and controls
129 lines (122 loc) · 3.62 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[build-system]
build-backend = "poetry.core.masonry.api"
requires = [ "poetry-core>=2" ]
[project]
name = "prospector"
version = "1.18.0"
description = "Prospector is a tool to analyse Python code by aggregating the result of other tools."
readme = "README.rst"
keywords = [ "prospector", "pylint", "static code analysis" ]
license = "GPLv2+"
maintainers = [
{ name = "Carl Crowder", email = "git@carlcrowder.com" },
{ name = "Carlos Coelho", email = "carlospecter@gmail.com" },
{ name = "Pierre Sassoulas", email = "pierre.sassoulas@gmail.com" },
{ name = "Stéphane Brunner", email = "stephane.brunner@gmail.com" },
]
authors = [
{ name = "Carl Crowder", email = "git@carlcrowder.com" },
]
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Operating System :: Unix",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Quality Assurance",
]
dynamic = [ "dependencies" ]
optional-dependencies.with-bandit = [ "bandit" ]
optional-dependencies.with-everything = [ "bandit", "mypy", "pyright", "pyroma", "ruff", "vulture" ]
optional-dependencies.with-mypy = [ "mypy" ]
optional-dependencies.with-pyright = [ "pyright" ]
optional-dependencies.with-pyroma = [ "pyroma" ]
optional-dependencies.with-ruff = [ "ruff" ]
optional-dependencies.with-vulture = [ "vulture" ]
urls."Bug Tracker" = "https://github.com/prospector-dev/prospector/issues"
urls."homepage" = "http://prospector.readthedocs.io"
urls."repository" = "https://github.com/prospector-dev/prospector"
scripts.prospector = "prospector.run:main"
[tool.poetry]
# The format is a workaround aganst https://github.com/python-poetry/poetry/issues/9961
packages = [
{ include = "prospector/", format = [ "sdist" ] },
]
include = [
"prospector/blender_combinations.yaml",
"prospector/profiles/profiles/*.yaml",
]
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
pylint = ">=4.0"
pylint-celery = "0.3"
pylint-django = ">=2.6.1"
requirements-detector = ">=1.5.0"
PyYAML = "*"
mccabe = "^0.7.0"
pyflakes = ">=2.2.0"
pycodestyle = ">=2.9.0"
pep8-naming = ">=0.3.3,<=0.10.0"
pydocstyle = ">=2.0.0"
dodgy = "^0.2.1"
toml = "^0.10.2"
setoptconf-tmp = "^0.3.1"
packaging = "*"
bandit = { version = ">=1.5.1", optional = true }
vulture = { version = ">=1.5", optional = true }
mypy = { version = ">=0.600", optional = true }
pyright = { version = ">=1.1.3", optional = true }
pyroma = { version = ">=2.4", optional = true }
ruff = { version = "*", optional = true }
[tool.poetry.group.dev.dependencies]
coveralls = "^3.3.1"
pytest = "^7.2.0"
pytest-benchmark = "^4.0.0"
pytest-cov = "^4.0.0"
tzlocal = "^4.2"
coverage = "^6.5"
pre-commit = "^4.2.0"
tox = "^3.27.1"
twine = "^6.2.0"
types-PyYAML = "^6.0.4"
[tool.ruff]
target-version = "py39"
line-length = 120
lint.extend-select = [
"B", # flake8-bugbear
# pydocstyle
"D213",
"D214",
"D215",
"D405",
"D406",
"D407",
"D408",
"D409",
"D410",
"D411",
"D413",
"D416",
"D417",
"E",
"F", # Pyflakes
"I", # isort
"PT", # flake8-pytest-style
"S", # flake8-bandit
"SIM", # flake8-simplify
"UP", # pyupgrade
"W", # Pycodestyle
]
lint.ignore = [
"S101", # Use of assert detected
"SIM105", # suppressible-exception (slow code)
]
lint.fixable = [ "ALL" ]