-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
191 lines (137 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
[metadata]
name = marrow.package
description = Plugin discovery and management, dependency graphing, and object import path canonicalization.
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
license_file = LICENSE.txt
author = Alice Bevan-McGregor
author_email = alice@gothcandy.com
url = https://github.com/marrow/package
project_urls =
Source code = https://github.com/marrow/package
Issue tracker = https://github.com/marrow/package/issues
keywords =
entry point
plugin
extensions
plugin manager
plugin system
canonicalization
reference parsing
import resolver
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Utilities
[options]
packages = marrow.package
include_package_data = True
python_requires = >=3.8
zip_safe = False
setup_requires =
setuptools-scm >= 1.7.0
install_requires =
typeguard ~=2.3.0,<3.0
tests_require =
pytest
pytest-cov
pytest-flakes
pytest-isort
pytest-mypy
[options.extras_require]
development =
wheel
twine
bandit
rope
mypy
pytest
pytest-cov
pytest-flakes
pytest-isort
pytest-runner
pytest-mypy
pre-commit
ptipython
e
[options.package_data]
* = *.txt, *.md, *.rst
marrow/package = py.typed
[options.entry_points]
marrow.package.sample =
name = marrow.package.canonical:name
load = marrow.package.loader:load
traverse = marrow.package.loader:traverse
[check]
metadata = 1
strict = 1
[clean]
build-base = .packaging/build
bdist-base = .packaging/dist
[build]
build-base = .packaging/build
parallel = 3
[install]
optimize = 1
[sdist]
dist-dir = .packaging/release
[bdist]
bdist-base = .packaging/dist
dist-dir = .packaging/release
[bdist_wheel]
bdist-dir = .packaging/dist
dist-dir = .packaging/release
[wheel]
universal = 0
[mypy]
follow_imports = silent
ignore_missing_imports = True
strict_optional = True
warn_no_return = False
check_untyped_defs = True
allow_redefinition = True
[tool:isort]
line_length = 120
multi_line_output = 4
balanced_wrapping = True
indent=' '
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
known_first_party =
marrow
web
[tool:pytest]
addopts =
-l -r fEsxw
--flakes
--cov-report term-missing
--cov-report xml
--no-cov-on-fail
--cov marrow.package
--durations=5
--color=yes
--isort
# --mypy
test
filterwarnings =
default
ignore::DeprecationWarning:isort.*
[coverage:report]
exclude_lines =
# Re-enable the standard pragma, since we override it.
pragma: no( |-)?cov(er)?
# Don't complain if non-runnable code isn't run:
if 0:
if False:
if __name__ == .__main__.: