forked from john-kurkowski/tldextract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
42 lines (36 loc) · 902 Bytes
/
tox.ini
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
[tox]
envlist = py{37,38,39,310,py3},codestyle,lint,typecheck
[testenv]
deps =
pylint
pytest
pytest-gitignore
pytest-mock
pytest-pylint
responses
commands = pytest --pylint {posargs}
[testenv:codestyle]
deps = pycodestyle
commands = pycodestyle tldextract tests {posargs}
[testenv:lint]
deps =
pytest
pytest-gitignore
pytest-pylint
responses
commands = pytest --pylint -m pylint {posargs}
[testenv:typecheck]
deps =
mypy
pytest
pytest-gitignore
pytest-pylint
responses
types-filelock
types-requests
commands = mypy --show-error-codes tldextract tests
[pycodestyle]
# E203 - whitespace before; disagrees with PEP8 https://github.com/psf/black/issues/354#issuecomment-397684838
# E501 - line too long
# W503 - line break before binary operator; disagrees with PEP8 https://github.com/psf/black/issues/52
ignore = E203, E501, W503