-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
65 lines (53 loc) · 1.62 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
[tool.poetry]
name = "sourcery-analytics"
version = "0.0.0" # this is a placeholder - version is set in the CI on release
description = "sourcery-analytics is a library and command-line interface (CLI) for analyzing the code quality of Python packages, modules, or source code."
authors = ["Ben Martineau <[email protected]>"]
readme = "README.md"
homepage = "https://github.com/sourcery-ai/sourcery-analytics"
documentation = "https://sourcery-analytics.sourcery.ai/"
keywords = ["cli", "code-quality", "python"]
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.9",
]
[tool.poetry.scripts]
sourcery-analytics = "sourcery_analytics.main:app"
[tool.poetry.dependencies]
python = "^3.9"
astroid = "2.15.8"
typer = "0.9.0"
rich = "13.7.0"
more-itertools = "9.1.0"
tomli = "2.0.1"
pydantic = "1.10.13"
[tool.poetry.dev-dependencies]
mypy = "^0.991"
pytest = "^7.1.1"
Sphinx = "^7.0.0"
sphinx-material = "^0.0.35"
black = "^23.0.0"
pytest-cov = "^4.0.0"
sphinx-copybutton = "^0.5.0"
pylint = "^2.14.3"
poetry = "^1.3.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
[[tool.mypy.overrides]]
module = ["astroid", "astroid.nodes", "astroid.manager"]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "--doctest-modules --doctest-glob=\"**/*.rst\""
[tool.sourcery-analytics]
[tool.sourcery-analytics.thresholds]
method_cyclomatic_complexity = 10
method_cognitive_complexity = 10
[tool.pylint.format]
max-line-length = "88"
[tool.pylint.messages_control]
extension-pkg-whitelist = "pydantic"
disable = [
"too-few-public-methods",
]