-
-
Notifications
You must be signed in to change notification settings - Fork 107
/
tox.ini
23 lines (20 loc) · 599 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
[tox]
envlist = py3{8,9,10,11,12},lint
isolated_build = True
[testenv]
extras = test
commands =
python -m playwright install chromium
python -m playwright install-deps chromium
python -m playwright install --with-deps firefox
python -m pytest {posargs:--verbose --showlocals} tests/
[testenv:lint]
extras = test
commands =
flake8 src/pycookiecheat/ tests/
mypy src/pycookiecheat/ tests/
black --check --diff .
[flake8]
exclude = .svn,CVS,.bzr,.hg,.git,__pycache__,docs,venv,.venv,.tox,.eggs,build
import-order-style = smarkets
application-import-names = pycookiecheat