forked from canonical/rockcraft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
130 lines (117 loc) · 3.05 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
129
130
[metadata]
name = rockcraft
version = attr: rockcraft.__version__
description="Create rocks"
long_description = file: README.rst
url = https://github.com/canonical/rockcraft
project_urls =
Documentation = https://rockcraft.readthedocs.io/en/latest/
Source = https://github.com/canonical/rockcraft.git
Issues = https://github.com/canonical/rockcraft/issues
author = Canonical Ltd.
author_email = [email protected]
license = GNU Lesser General Public License v3 (LGPLv3)
license_files = LICENSE
classifiers =
Development Status :: 2 - Pre-Alpha
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.10
[options]
python_requires = >= 3.10
include_package_data = True
packages = find:
zip_safe = False
install_requires =
craft-application>=1.0.0
craft-archives>=1.1.0
craft-cli
craft-parts
craft-providers
overrides
spdx-lookup
tabulate>=0.8.10
[options.entry_points]
console_scripts =
rockcraft = rockcraft.cli:run
[options.package_data]
rockcraft = py.typed
[options.extras_require]
doc =
canonical-sphinx
sphinx-autobuild
sphinx-autodoc-typehints
sphinxcontrib-details-directive
sphinx-lint
sphinx-toolbox
pyspelling
release =
twine
wheel
test =
mccabe<0.7.0 # to resolve version conflict
coverage
black
codespell
flake8>=4.0.1
mypy
pydocstyle
pylint
pylint-fixme-info
pylint-pytest>=1.1.3
pytest
pytest-check>=2.0
pytest-mock
pytest-subprocess
ruff==0.3.5
tox
types-requests
types-setuptools
types-pyyaml
types-tabulate>=0.9.0.2
dev =
autoflake
%(doc)s
%(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
ignore-words-list = warmup,buildd,astroid
[flake8]
exclude = .direnv .git .mypy_cache .pytest_cache .venv __pycache__ venv
max-line-length = 88
# E203 whitespace before ':'
# E501 line too long
extend-ignore = E203,E501
[autoflake]
remove-all-unused-imports=true
ignore-init-module-imports=true
recursive=true
in-place=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
# Allow missing docstrings in methods that are overridden
ignore_decorators = override
[aliases]
test = pytest
[tool:pytest]