This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
forked from canonical/craft-grammar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
128 lines (111 loc) · 2.97 KB
/
setup.cfg
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
[metadata]
name = craft-grammar
version = attr: craft_grammar.__version__
description="Advance Grammar for Craft Parts"
long_description = file: README.md
url = https://github.com/canonical/craft-grammar
project_urls =
Documentation = https://craft-grammar.readthedocs.io/en/latest/
Source = https://github.com/canonical/craft-grammar.git
Issues = https://github.com/canonical/craft-grammar/issues
author = Canonical Ltd.
author_email = [email protected]
license = GNU Lesser General Public License v3 (LGPLv3)
license_files = LICENSE
classifiers =
Development Status :: 6 - Mature
Intended Audience :: Developers
License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Operating System :: MacOS :: MacOS X
Operating System :: POSIX :: Linux
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
[options]
python_requires = >= 3.8
include_package_data = True
packages = find:
zip_safe = False
install_requires =
overrides
[options.package_data]
craft_grammar = py.typed
[options.extras_require]
doc =
sphinx
sphinx-autobuild
sphinx-autodoc-typehints
sphinx-pydantic
sphinx-rtd-theme
sphinx-lint==0.6.7
release =
twine
wheel
test =
coverage==6.5.0
black==22.12.0
codespell==2.2.2
flake8
isort==5.10.1
mypy==0.991
pydantic
pydocstyle==6.1.1
pylint==2.15.10
pylint-fixme-info
pylint-pydantic
pylint-pytest
pytest
pytest-cov
pytest-mock
PyYAML
tox
types-requests
types-setuptools
types-PyYAML
dev =
autoflake
%(release)s
%(test)s
[options.packages.find]
exclude =
tests
tests.*
[bdist_wheel]
universal = 1
[codespell]
quiet-level = 3
skip = ./docs/_build,.direnv,.git,.mypy_cache,.pytest_cache,.venv,__pycache__,venv,.tox
[flake8]
exclude = .direnv .git .mypy_cache .pytest_cache .venv __pycache__ venv .tox
max-line-length = 88
# E501 line too long
extend-ignore = E501
[mypy]
python_version = 3.8
[mypy-keyring.*]
ignore_missing_imports = True
[mypy-macaroonbakery.*]
ignore_missing_imports = True
[mypy-pymacaroons.*]
ignore_missing_imports = True
[mypy-urllib3.*]
ignore_missing_imports = True
[mypy-requests_toolbelt]
# https://github.com/requests/toolbelt/issues/279
ignore_missing_imports = True
[pydantic-mypy]
init_forbid_extra = True
init_typed = True
warn_required_dynamic_aliases = True
warn_untyped_fields = True
[pydocstyle]
# D105 Missing docstring in magic method (reason: magic methods already have definitions)
# D107 Missing docstring in __init__ (reason: documented in class docstring)
# D203 1 blank line required before class docstring (reason: pep257 default)
# D213 Multi-line docstring summary should start at the second line (reason: pep257 default)
# D215 Section underline is over-indented (reason: pep257 default)
ignore = D105, D107, D203, D213, D215
[aliases]
test = pytest
[tool:pytest]