forked from django-ftl/fluent-compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
31 lines (25 loc) · 822 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
# This config is for local testing. Where needed changes should be duplicated into
# .github/workflows/pythonpackage.yml
[tox]
envlist = py36,py37,py38,py39,py310,py311,py312,pypy3.6,flake8,isort
# For Python 3.6 support:
requires = virtualenv<20.22.0
[testenv]
deps =
# Just '.[develop]' would be nice here.
# Unfortunately it is super slow: https://github.com/pypa/pip/issues/2195
# So we duplicate deps from setup.py for now.
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-test.txt
-r{toxinidir}/requirements-linters.txt
commands = pytest
[testenv:flake8]
basepython = python3.9
commands = flake8 src tests
[testenv:isort]
basepython = python3.9
commands = isort -c src tests
[testenv:check-manifest]
basepython = python3.9
deps = check-manifest
commands = check-manifest