File: setup.cfg

package info (click to toggle)
python-matrix-common 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 144 kB
  • sloc: python: 239; sh: 10; makefile: 6
file content (50 lines) | stat: -rw-r--r-- 1,125 bytes parent folder | download
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
[metadata]
name = matrix_common
description = Common utilities for Synapse, Sydent and Sygnal
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/matrix-org/matrix-python-common
version = 1.3.0

classifiers =
  License :: OSI Approved :: Apache Software License


[options]
python_requires = >= 3.7
install_requires =
  attrs
  importlib_metadata >= 1.4; python_version < '3.8'


[options.package_data]
matrix_common = py.typed


[options.extras_require]
test =
  tox
  twisted
  aiounittest
dev =
  %(test)s
  # for type checking
  mypy == 0.910
  # for linting
  black == 22.3.0
  flake8 == 4.0.1
  isort == 5.9.3
  # release process
  build == 0.8.0
  twine == 4.0.1


[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