-
Notifications
You must be signed in to change notification settings - Fork 173
/
pyproject.toml
109 lines (102 loc) · 3.04 KB
/
pyproject.toml
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
[tool.poetry]
name = "prospector"
version = "1.13.3"
description = "Prospector is a tool to analyse Python code by aggregating the result of other tools."
authors = ["Carl Crowder <[email protected]>"]
maintainers = ["Carl Crowder <[email protected]>",
"Carlos Coelho <[email protected]>",
"Pierre Sassoulas <[email protected]>",
"Stéphane Brunner <[email protected]>"]
readme = "README.rst"
homepage = "http://prospector.readthedocs.io"
repository = "https://github.com/PyCQA/prospector"
keywords = ["pylint", "prospector", "static code analysis"]
license = "GPLv2+"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: Unix",
"Topic :: Software Development :: Quality Assurance",
"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",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
]
packages = [
{ include = "prospector/"}
]
include = [
"prospector/blender_combinations.yaml",
"prospector/profiles/profiles/*.yaml",
]
[tool.poetry.scripts]
prospector = 'prospector.run:main'
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
pylint = ">=3.0"
pylint-celery = "0.3"
pylint-django = ">=2.6.1"
pylint-flask = "0.6"
requirements-detector = ">=1.3.2"
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"
GitPython = "^3.1.27"
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.extras]
with_bandit = ["bandit"]
with_mypy = ["mypy"]
with_pyright = ["pyright"]
with_pyroma = ["pyroma"]
with_vulture = ["vulture"]
with_ruff = ["ruff"]
with_everything = ["bandit", "mypy", "pyright", "pyroma", "vulture", "ruff"]
[tool.poetry.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 = "^2.20.0"
tox = "^3.27.1"
twine = "^5.1.1"
types-PyYAML = "^6.0.4"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.lint]
fixable = ["ALL"]
extend-select = [
"UP", # pyupgrade
"F", # Pyflakes
"E", "W", # Pycodestyle
"I", # isort
"S", # flake8-bandit
"SIM", # flake8-simplify
"B", # flake8-bugbear
# pydocstyle
"D213", "D214", "D215", "D405", "D406", "D407", "D408", "D409", "D410", "D411", "D413", "D416", "D417",
]
ignore= [
"S101", # Use of assert detected
"SIM105", # suppressible-exception (slow code)
]