-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
106 lines (93 loc) · 2.89 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
[build-system]
requires = [
"setuptools >= 62",
"wheel >= 0.37",
]
build-backend = "setuptools.build_meta"
[project]
name = "pydocstringformatter"
dynamic = ["version"]
authors = [
{name = "Daniël van Noord", email = "13665637+DanielNoord@users.noreply.github.com"}
]
description = "A tool to automatically format Python docstrings that tries to follow recommendations from PEP 8 and PEP 257."
readme = "README.md"
license = {text = "MIT"}
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Quality Assurance",
]
keywords = ["python", "docstring", "format"]
requires-python = ">=3.8"
dependencies = ["tomli>=1.1.0;python_version<'3.11'"]
[project.urls]
"Repository" = "https://github.com/DanielNoord/pydocstringformatter"
"Releases" = "https://github.com/DanielNoord/pydocstringformatter/releases"
"Bug Tracker" = "https://github.com/DanielNoord/pydocstringformatter/issues"
[project.scripts]
pydocstringformatter = "pydocstringformatter:run_docstring_formatter"
[tool.setuptools]
license-files = ["LICENSE"]
[tool.setuptools.dynamic]
version = {attr = "pydocstringformatter.__version__"}
[tool.setuptools.packages.find]
include = ["pydocstringformatter*"]
[tool.pytest]
testpaths = "tests"
[tool.mypy]
files = "pydocstringformatter,tests"
exclude = "tests/data.*"
strict = true
show_error_codes = true
enable_error_code = "ignore-without-code"
[[tool.mypy.overrides]]
module = ["git.*"]
ignore_missing_imports = true
[tool.pylint]
load-plugins=[
"pylint.extensions.check_elif",
"pylint.extensions.code_style",
"pylint.extensions.confusing_elif",
"pylint.extensions.docparams",
"pylint.extensions.docstyle",
"pylint.extensions.empty_comment",
"pylint.extensions.for_any_all",
"pylint.extensions.set_membership",
"pylint.extensions.typing"
]
py-version="3.8"
disable = [
"missing-module-docstring",
"too-few-public-methods",
"duplicate-code"
]
enable = [
"c-extension-no-member",
]
good-names = "f"
notes-rgx = 'TODO(?!\(#\d+\))'
[tool.isort]
profile = "black"
known_third_party = ["pytest"]
skip_glob = "tests/data/**"
[tool.coverage.run]
branch = true
relative_files = true
[tool.black]
# Use force-exclude due to the way that pre-commit passes filenames to black
# See https://github.com/psf/black/issues/1985
force-exclude = ".*tests/data/.*"
quiet = true