-
Notifications
You must be signed in to change notification settings - Fork 43
/
pyproject.toml
68 lines (59 loc) · 1.05 KB
/
pyproject.toml
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
[build-system]
requires = [
"setuptools >= 40.9.0",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 120
[tool.flake8]
max-line-length = 120
extend-ignore = "SFS1,B014"
[tool.isort]
profile = "black"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py39-flake8, py27-flake8, py39-black, py26, py27, py36, py37, py38, py39, pypy2, pypy36, pypy37
[gh-actions]
python =
2.6: py26
2.7: py27
3.6: py36
3.7: py37
3.8: py38
3.9: py39
pypy-2.7: pypy2
pypy-3.6: pypy36
pypy-3.7: pypy37
[testenv]
commands = pytest
deps =
pytest
# Very basic syntax checking for py27
[testenv:py27-flake8]
commands =
flake8 --extend-ignore=E501
deps =
flake8
[testenv:py39-flake8]
commands =
pflake8
deps =
pyproject-flake8
pep8-naming
flake8-broken-line
flake8-bugbear
flake8-commas
flake8-comprehensions
flake8-eradicate
flake8-fixme
flake8-isort
flake8-sfs
flake8-type-annotations
[testenv:py39-black]
commands =
black --check --diff .
deps =
black
"""