-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
93 lines (77 loc) · 2.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
[project]
name = "ietf_comments"
dynamic = ["version"]
authors = [
{name="Mark Nottingham", email="mnot@mnot.net"}
]
description = "Automating IETF comment handling"
readme = "README.md"
requires-python = ">=3.9"
license = {file = "LICENSE.md"}
classifiers = [
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License"
]
dependencies = [
"ietf_comments_engine",
"pygithub",
"blessings",
]
[project.optional-dependencies]
dev = ["mypy", "black", "pylint", "pytest", "pytest-md", "validate-pyproject", "build",
"types-requests"]
[project.urls]
homepage = "https://github.com/mnot/ietf-comments"
[project.scripts]
ietf-comments = "ietf_comments.ui:ietf_comments_cli"
rfced-comments = "ietf_comments.ui:rfced_comments_cli"
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = {attr = "ietf_comments.__version__"}
[tool.setuptools.packages.find]
where = ["."]
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
ietf_comments = ["py.typed"]
[tool.mypy]
follow_imports = "normal"
incremental = true
disallow_untyped_defs = true
disallow_untyped_calls = true
disallow_incomplete_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
warn_unreachable = true
strict_optional = true
show_error_codes = true
[tool.pylint.basic]
function-rgx = "[a-z_][a-z0-9_]{1,30}$"
variable-rgx = "[a-z_][a-z0-9_]{1,30}$"
attr-rgx = "[a-z_][a-z0-9_]{1,30}$"
argument-rgx = "[a-z_][a-z0-9_]{1,30}$"
class-attribute-rgx = "([A-Za-z_][A-Za-z0-9_]{1,30}|(__.*__))$"
method-rgx = "[a-z_][a-z0-9_]{1,30}$"
class-rgx = "[a-zA-Z0-9_]+$"
[tool.pylint.messages_control]
disable = "C0114,C0115,C0116,W0613"
[tool.pylint.reports]
reports = false
[tool.pylint.variables]
dummy-variables-rgx = "_"
[tool.pylint.design]
max-args=10
max-locals=35
max-branches=25
max-statements=100
max-attributes=40
min-public-methods=1
[tool.pylint.similarities]
min-similarity-lines = 10