-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
113 lines (101 loc) · 2.49 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
[metadata]
name = baseclasses
summary = Dataclasses alternative
long_description = file: README.md
long_description_content_type = text/markdown
license = Apache License 2.0
license_files = LICENSE
requires_python = >=3.7
keywords =
dataclasses
url = https://github.com/yanovs/baseclasses
project_urls =
Packaging=https://pypi.org/project/baseclasses/
Source=https://github.com/yanovs/baseclasses
Tracker=https://github.com/yanovs/baseclasses/issues
platforms = any
classifiers =
Development Status :: 4 - Beta
Intended Audience :: Developers
Operating System :: OS Independent
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
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Software Development :: Libraries
Topic :: Utilities
[options]
packages = find:
python_requires = >=3.7
install_requires =
setup_requires =
setuptools_scm[toml] >= 3.4
[options.extras_require]
building =
build >= 0.6.0
setuptools_scm[toml] >= 3.4
wheel >= 0.38.0
testing =
black >= 22.8
cached-property >= 1.5.2
docformatter >= 1.5.0
flake8 >= 5.0.4
isort >= 5.2.2
mypy >= 0.800
pytest >= 6.2.5
pytest-cov >=2, <3
pyright >= 0.0.13
tox >= 3.27.1
[options.package_data]
baseclasses = py.typed
[flake8]
ignore = E203,E501,W503
max-complexity = 10
[tox:tox]
min_version = 3.7
env_list =
black
docformatter
flake8
isort
mypy
pyright
py37,py38,py39,py310,py311,pypy3
isolated_build = True
labels =
test = py37,py38,py39,py310,py311,pypy3
lint = black,docformatter,flake8,isort,mypy,pyright
3.7 = py37
3.8 = black,docformatter,flake8,isort,mypy,pyright,py38
3.9 = py39
3.10 = py310
3.11 = py311
pypy-3.8 = pypy3
[testenv]
extras = testing
commands = pytest {posargs}
[testenv:black]
extras = testing
commands = black --check baseclasses
[testenv:docformatter]
extras = testing
commands = docformatter -cr baseclasses
[testenv:flake8]
extras = testing
commands = flake8 baseclasses
[testenv:isort]
extras = testing
commands = isort -c baseclasses
[testenv:mypy]
extras = testing
commands = mypy baseclasses
[testenv:pyright]
extras = testing
commands = pyright baseclasses
allowlist_externals = pyright
set_env =
PYRIGHT_PYTHON_DEBUG = 1
PYRIGHT_PYTHON_VERBOSE = 1