generated from marrow/marrow-package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
159 lines (104 loc) · 2.13 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
[metadata]
name = marrow.typecast
description = TBD
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
license_file = LICENSE.txt
author = Alice Bevan-McGregor
author_email = [email protected]
url = https://github.com/marrow/$repo
project_urls =
Source code = https://github.com/marrow/$repo
Issue tracker = https://github.com/marrow/$repo/issues
[options]
packages = marrow.typecast
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
[options.package_data]
* = *.txt, *.md
; marrow/typecast = 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
[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 marrow.typecast
--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__.: