generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
129 lines (111 loc) · 2.97 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "invoke-plugin-for-pylint"
version = "4.0.0"
description = "Pylint plugin which disables checks for proper integration with invoke"
authors = [{ name = "Kai Harder", email = "kai.harder@sap.com"}]
readme = "README.md"
keywords = ["pylint", "invoke", "plugin", "inv", "linter"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Plugins",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"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",
"Topic :: Software Development :: Quality Assurance",
"Typing :: Typed"
]
requires-python = ">=3.9,<4"
dependencies = [
"invoke~=2.0",
"pylint~=3.0",
]
[project.license]
text = "Apache-2.0"
[project.urls]
"Issue Tracker" = "https://github.com/SAP/invoke-plugin-for-pylint/issues"
"Changelog" = "https://github.com/SAP/invoke-plugin-for-pylint/blob/main/CHANGELOG.md"
[project.optional-dependencies]
check = [
"pre-commit==4.0.1",
"pylint==3.3.1",
"black==24.10.0",
"isort==5.13.2",
"mypy==1.13.0",
"types-invoke==2.0.0.10",
]
test = [
"pytest==8.3.3",
"pytest-mock==3.14.0",
"coverage[toml]==7.6.4",
"diff-cover==9.2.0",
"pytest-cov==6.0.0",
]
[tool.setuptools.packages.find]
include = ["invoke_plugin_for_pylint"]
[tool.setuptools.package-data]
invoke_plugin_for_pylint = ["py.typed"]
[tool.isort]
profile = "black"
add_imports = ["from __future__ import annotations"]
[tool.mypy]
# main config
strict_optional = true
warn_incomplete_stub = true
warn_no_return = true
warn_unreachable = true
strict = true
warn_unused_ignores = false
warn_return_any = false
disallow_untyped_calls = false
# output
pretty = true
show_column_numbers = true
show_error_codes = true
show_traceback = true
# error config
disable_error_code = ["type-abstract"]
enable_error_code = ["explicit-override"]
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = ["astroid.*"]
[tool.pylint.basic]
no-docstring-rgx = "^_"
[tool.pylint.design]
min-public-methods = 0
[tool.pylint.master]
max-line-length = 100
py-version = [3, 8]
load-plugins = ["invoke_plugin_for_pylint"]
[tool.pylint."messages control"]
enable = ["all"]
disable = [
# allow TODO comments
"fixme",
# allow disables
"locally-disabled",
"suppressed-message",
]
[tool.pylint.reports]
reports = false
[tool.pylint.similarities]
ignore-imports = true
[tool.coverage.report]
fail_under = 90
show_missing = true
skip_covered = true
[tool.coverage.run]
branch = true
[tool.diff_cover]
include_untracked = true
fail_under = 90