forked from thaije/python-telegram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
35 lines (30 loc) · 721 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
[tox]
ignore_basepython_conflict = true
envlist = mypy,flake8,pylint,py37,py36,py38
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38, mypy, flake8, pylint
[testenv]
basepython = python3
deps = -rtests/requirements.txt
commands = pytest -v {posargs}
[testenv:flake8]
commands = flake8 telegram_api
[testenv:pylint]
commands = pylint telegram_api
[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_api