forked from pycontribs/mk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
89 lines (79 loc) · 2.68 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
[build-system]
requires = [
"setuptools >= 63.0.0", # required by pyproject+setuptools_scm integration
"setuptools_scm[toml] >= 7.0.5", # required for "no-local-version" scheme
]
build-backend = "setuptools.build_meta"
[project]
# https://peps.python.org/pep-0621/#readme
requires-python = ">=3.8"
dynamic = ["version", "dependencies", "optional-dependencies"]
name = "mk"
description = "mk"
readme = "README.md"
authors = [{ "name" = "Sorin Sbarnea", "email" = "[email protected]" }]
license = { text = "MIT" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Utilities",
]
keywords = ["mk"]
[project.urls]
homepage = "https://github.com/pycontribs/mk"
# documentation = "https://mk.readthedocs.io/"
repository = "https://github.com/pycontribs/mk"
changelog = "https://github.com/pycontribs/mk/releases"
[project.scripts]
mk = "mk.__main__:cli"
[project.entry-points."mk_tools"]
ansible = "mk.tools.ansible:AnsibleTool"
git = "mk.tools.git:GitTool"
make = "mk.tools.make:MakeTool"
npm = "mk.tools.npm:NpmTool"
pypackage = "mk.tools.py_package:PyPackageTool"
pytest = "mk.tools.pytest:PyTestTool"
pre-commit = "mk.tools.pre_commit:PreCommitTool"
shell = "mk.tools.shell:ShellTool"
tox = "mk.tools.tox:ToxTool"
[tool.black]
[tool.isort]
profile = "black"
[tool.pylint."MESSAGES CONTROL"]
# increase from default is 50 which is too aggressive
max-statements = 60
disable = [
# Disabled on purpose (explain in comment)
"line-too-long", # black managed
"wrong-import-position", # isort managed
# TODO(ssbarnea): remove temporary skips adding during initial adoption:
"dangerous-default-value",
"invalid-name",
"missing-class-docstring",
"missing-function-docstring",
"missing-module-docstring",
"no-value-for-parameter",
"not-an-iterable",
"too-few-public-methods",
]
[tool.setuptools.dynamic]
optional-dependencies.test = { file = [".config/requirements-test.txt"] }
dependencies = { file = [".config/requirements.in"] }
[tool.setuptools_scm]
local_scheme = "no-local-version"
write_to = "src/mk/_version.py"