forked from alexander-akhmetov/python-telegram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
39 lines (33 loc) · 786 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
[tox]
ignore_basepython_conflict = true
envlist = mypy,flake8,pylint,py37,py36,py38,py39
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39, mypy, flake8, pylint, black
[testenv]
basepython = python3
deps = -rtests/requirements.txt
commands = pytest -v {posargs}
[testenv:flake8]
commands = flake8 telegram
[testenv:pylint]
commands = pylint telegram
[testenv:black]
commands = black --check telegram
[testenv:mypy]
commands =
mypy --ignore-missing-imports \
--strict-optional \
--disallow-untyped-calls \
--disallow-untyped-defs \
--disallow-incomplete-defs \
--check-untyped-defs \
--disallow-untyped-decorators \
--no-implicit-optional \
--warn-unused-ignores \
--warn-redundant-casts \
--warn-return-any \
telegram