forked from canonical/craft-store
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
128 lines (111 loc) · 2.89 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-store
version = attr: craft_store.__version__
description="Store bindings for Snaps and Charms"
long_description = file: README.md
url = https://github.com/canonical/craft-store
project_urls =
Documentation = https://craft-store.readthedocs.io/en/latest/
Source = https://github.com/canonical/craft-store.git
Issues = https://github.com/canonical/craft-store/issues
author = Canonical Ltd.
author_email = [email protected]
license = GNU Lesser General Public License v3 (LGPLv3)
license_file = 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 =
pydantic
keyring
macaroonbakery
overrides
requests
requests_toolbelt
[options.package_data]
craft_store = py.typed
[options.extras_require]
doc =
sphinx
sphinx-autodoc-typehints
sphinx-pydantic
sphinx-rtd-theme
release =
twine
wheel
test =
coverage
black
codespell
flake8
isort
mypy
pydocstyle
pylint
pylint-fixme-info
pylint-pytest
pytest
pytest-mock
pytest-subprocess
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
plugins = pydantic.mypy
[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]