This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
forked from canonical/rockcraft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
128 lines (115 loc) · 2.92 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 = rockcraft
version = attr: rockcraft.__version__
description="Create ROCKS"
long_description = file: README.md
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.8
Programming Language :: Python :: 3.9
[options]
python_requires = >= 3.8
include_package_data = True
packages = find:
zip_safe = False
install_requires =
craft-archives>=0.0.3
craft-cli
craft-parts
craft-providers
overrides
spdx-lookup
[options.entry_points]
console_scripts =
rockcraft = rockcraft.cli:run
[options.package_data]
rockcraft = py.typed
[options.extras_require]
doc =
furo
sphinx
sphinx-autobuild
sphinx-autodoc-typehints
sphinx-copybutton
sphinx_design
sphinx-lint
sphinx-pydantic
sphinx-rtd-theme
release =
twine
wheel
test =
mccabe<0.7.0 # to resolve version conflict
coverage
black
codespell
flake8>=4.0.1
isort
mypy
pydocstyle
pylint
pylint-fixme-info
pylint-pytest
pytest
pytest-check>=2.0
pytest-mock
pytest-subprocess
tox
types-requests
types-setuptools
types-pyyaml
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
[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
[aliases]
test = pytest
[tool:pytest]