-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
232 lines (147 loc) · 3.23 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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
[metadata]
name = preoccupied.proxytype
version = 0.4.0
description = static typing support for dynamic proxy classes
author = Christopher O'Brien
# O'Brien breaks so many tools
author_email = [email protected]
copyright_years = 2024
license = GNU General Public License v3 (GPLv3)
license_files =
LICENSE
long_description = file: README.md
long_description_content_type = text/markdown
home_page = https://github.com/obriencj/python-proxytype
platform = any
project_urls =
Source = https://github.com/obriencj/python-proxytype
Issues = https://github.com/obriencj/python-proxytype/issues
classifiers =
Development Status :: 4 - Beta
Environment :: Console
Intended Audience :: Developers
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Natural Language :: English
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Software Development :: Build Tools
Topic :: Utilities
[options]
packages =
preoccupied.proxytype
zip_safe = False
[options.package_data]
preoccupied.proxytype =
py.typed
[tox:tox]
envlist = flake8,mypy,bandit,py{37,38,39,310,311}
skip_missing_interpreters = True
[testenv]
commands =
python -B -m nose
sitepackages = False
deps =
mypy
nose-py3
download = True
[testenv:quicktest]
basepython = python3.9
commands =
python -B -I -m nose -s
download = True
[testenv:build]
basepython = python3.9
commands =
python -B -m build -n .
deps =
build
[testenv:flake8]
basepython = python3.9
commands =
python -B -m flake8 preoccupied/
deps =
flake8
skip_install = True
[testenv:twine]
basepython = python3.9
commands =
python -B -m build -n .
python -B -m twine check dist/*.whl
deps =
build
twine
skip_install = True
[testenv:mypy]
basepython = python3.9
commands =
python -B -m mypy preoccupied
deps =
mypy
types-pkg_resources
[testenv:bandit]
basepython = python3.9
commands =
python -B -m bandit --ini setup.cfg \
-qr preoccupied
deps =
bandit
skip_install = True
[testenv:bandit-sarif]
basepython = python3.9
commands =
python -B -m bandit --ini setup.cfg \
-f sarif -o bandit.sarif \
-qr preoccupied
python -B -m sarif summary bandit.sarif
deps =
bandit
bandit-sarif-formatter
sarif-tools
skip_install = True
[nosetests]
all-modules = 1
no-byte-compile = 1
verbosity = 2
[bandit]
# B101 complains about asserts
skips = B101
[flake8]
# E303 complains about more than one blank lines between methods in a class
# E731 assigning a lambda to a variable
# E741 ambiguous variable name
# F401 ambiguous variable name
# F812 list comprehension redefines variable (I reuse tmp names)
# W504 line break after binary operator
ignore = E303,E731,E741,F401,F812,W504
filename =
*.py
*.pyi
exclude =
__pycache__
.*
build
dist
docs
gh-pages
htmlcov
setup.py
tests
todo
tools
[mypy]
no_site_packages = False
ignore_missing_imports = True
strict_optional = False
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
# The end.