forked from john-kurkowski/tldextract
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
40 lines (35 loc) · 676 Bytes
/
tox.ini
File metadata and controls
40 lines (35 loc) · 676 Bytes
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
[tox]
envlist = py{37,38,39,310,311,py3},codestyle,lint,typecheck
[testenv]
deps =
pylint
pytest
pytest-gitignore
pytest-mock
pytest-pylint
responses
commands = pytest --pylint {posargs}
[testenv:codestyle]
deps =
black
pycodestyle
commands =
pycodestyle tldextract tests {posargs}
black --check {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