forked from twisted/twisted
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
205 lines (185 loc) · 5.4 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
[metadata]
name = Twisted
version = attr: twisted.__version__
description = An asynchronous networking framework written in Python
author = Twisted Matrix Laboratories
author_email = [email protected]
maintainer = Glyph Lefkowitz
maintainer_email = [email protected]
url = https://twistedmatrix.com/
project_urls =
Documentation=https://docs.twistedmatrix.com/
Source=https://github.com/twisted/twisted
Issues=https://twistedmatrix.com/trac/report
Twitter=https://twitter.com/twistedmatrix
license = MIT
classifiers =
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
long_description_content_type = text/x-rst
[options]
# When updating this value, make sure our CI matrix includes a matching minimum version.
python_requires = >=3.6.7
install_requires =
zope.interface >= 4.4.2
constantly >= 15.1
incremental >= 21.3.0
Automat >= 0.8.0
hyperlink >= 17.1.1
attrs >= 19.2.0
typing_extensions >= 3.6.5
twisted-iocpsupport ~= 1.0.0; platform_system == "Windows"
include_package_data = True
zip_safe = False
package_dir = =src
packages = find:
[options.extras_require]
; This is list of minimum dependencies required to run the test.
; The plan is to remove the `test` extra requirement and skip tests that
; depend on then
; To prevent trunk failures we should pin all dev dependencies to minor
; versions.
; We trust semantic versioning and auto-upgrading to a bugfix release
; should be OK.
test =
cython-test-exception-raiser ~= 1.0
PyHamcrest >= 1.9.0
; List of dependencies required to build the documentation and test the
; release scripts and process.
dev_release =
towncrier ~= 19.2
pydoctor ~= 21.2.2; python_version >= "3.6"
sphinx-rtd-theme ~= 0.5
readthedocs-sphinx-ext ~= 2.1
sphinx ~= 3.3
; All the extra tools used to help with the development process.
dev =
%(dev_release)s
pyflakes ~= 2.2
# TODO: support python-subunit in py3.10 https://twistedmatrix.com/trac/ticket/10115
python-subunit ~= 1.4; python_version < "3.10"
twistedchecker ~= 0.7
coverage >= 6b1, <7
tls =
pyopenssl >= 16.0.0
# service_identity 18.1.0 added support for validating IP addresses in
# certificate subjectAltNames
service_identity >= 18.1.0
idna >= 2.4
conch =
pyasn1
cryptography >= 2.6
appdirs >= 1.4.0
bcrypt >= 3.0.0
serial =
pyserial >= 3.0
pywin32 != 226; platform_system == "Windows"
http2 =
h2 >= 3.0, < 4.0
priority >= 1.1.0, < 2.0
contextvars =
contextvars >= 2.4, < 3; python_version < "3.7"
all_non_platform =
%(test)s
%(tls)s
%(conch)s
%(serial)s
%(http2)s
%(contextvars)s
macos_platform =
pyobjc-core
pyobjc-framework-CFNetwork
pyobjc-framework-Cocoa
%(all_non_platform)s
windows_platform =
pywin32 != 226
%(all_non_platform)s
osx_platform =
%(macos_platform)s
mypy =
mypy==0.910
mypy-zope==0.3.2
types-setuptools
types-pyOpenSSL
%(dev)s
%(all_non_platform)s
[options.packages.find]
where = src
[options.entry_points]
console_scripts =
ckeygen = twisted.conch.scripts.ckeygen:run
cftp = twisted.conch.scripts.cftp:run
conch = twisted.conch.scripts.conch:run
mailmail = twisted.mail.scripts.mailmail:run
pyhtmlizer = twisted.scripts.htmlizer:run
tkconch = twisted.conch.scripts.tkconch:run
trial = twisted.scripts.trial:run
twist = twisted.application.twist._twist:Twist.main
twistd = twisted.scripts.twistd:run
[options.exclude_package_data]
* =
*.c
*.h
*.pxi
*.pyx
build.bat
[flake8]
disable-noqa = True
max-line-length = 182
extend-ignore =
E203, # whitespace before : is not PEP8 compliant (& conflicts with black)
per-file-ignores =
src/twisted/*:
# block comment should start with '# '
E265,
# too many leading '#' for block comment
E266,
# multiple imports on one line
E401,
# module level import not at top of file
E402,
# comparison to None should be 'if cond is None:'
E711,
# comparison to True should be 'if cond is True:' or 'if cond:'
E712,
# do not compare types, use 'isinstance()'
E721,
# do not assign a lambda expression, use a def
E731,
# ambiguous variable name 'l'
E741,
# ambiguous function definition 'l'
E743,
# .has_key() is deprecated, use 'in'
W601,
docs/*:
# block comment should start with '# '
E265,
# too many leading '#' for block comment
E266,
# multiple imports on one line
E401,
# module level import not at top of file
E402,
# ambiguous variable name 'l'
E741,
# 'string' imported but unused
F401,
# 'from Foundation import *' used; unable to detect undefined names
F403,
# 'USEREVENT' may be undefined, or defined from star imports: pygame.locals
F405,
# redefinition of unused 'pb' from line 8
F811,
# undefined name 'name'
F821,
# local variable 'd' is assigned to but never used
F841,
# trailing whitespace
W291,
# blank line contains whitespace
W293,