-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.cfg
47 lines (38 loc) · 996 Bytes
/
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
[metadata]
name = tchap_red_list
description = Hide users from user search on demand.
long_description = file: README.md
long_description_content_type = text/markdown
version = 0.0.0
classifiers =
License :: OSI Approved :: Apache Software License
[options]
packages =
tchap_red_list
python_requires = >= 3.7
install_requires =
attrs
[options.package_data]
tchap_red_list = py.typed
[options.extras_require]
dev =
# for tests
matrix-synapse
tox
twisted
aiounittest
# for type checking
mypy == 0.931
# for linting
black == 22.3.0
flake8 == 4.0.1
isort == 5.9.3
[flake8]
# see https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
# for error codes. The ones we ignore are:
# W503: line break before binary operator
# W504: line break after binary operator
# E203: whitespace before ':' (which is contrary to pep8?)
# E501: Line too long (black enforces this for us)
# (this is a subset of those ignored in Synapse)
ignore=W503,W504,E203,E501