generated from marrow/marrow-package-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
175 lines (117 loc) · 2.32 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
[metadata]
name = bcp47
description = A datatype representation to inspect, validate, and manipulate BCP 47 "Language Tags".
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
license_file = LICENSE.md
author = Alice Bevan-McGregor
author_email = [email protected]
url = https://github.com/marrow/bcp47
project_urls =
Source code = https://github.com/marrow/bcp47
Issue tracker = https://github.com/marrow/bcp47/issues
keywords =
RFC1766
RFC3066
RFC4646
RFC4647
RFC5646
IETF BCP 47
[options]
packages = bcp47
include_package_data = True
python_requires = >=3.7
zip_safe = False
; scripts
setup_requires =
setuptools-scm >= 1.7.0
install_requires =
typeguard ~=2.3.0,<4.0
tests_require =
pytest
pytest-cov
pytest-flakes
pytest-isort
[options.extras_require]
development =
pytest
pytest-cov
pytest-flakes
pytest-isort
pytest-runner
pre-commit
bandit
rope
mypy
ptipython
pudb
e
[options.package_data]
* = *.txt, *.md
#bcp47 = py.typed
[options.entry_points]
; Populate plugin namespaces / register "entry points" here.
[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]
formats = zip,gztar
dist-dir = .packaging/release
[bdist]
bdist-base = .packaging/dist
dist-dir = .packaging/release
[bdist_egg]
bdist-dir = .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
--no-cov-on-fail
--cov bcp47
--durations=5
--color=yes
--isort
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__.: