-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (30 loc) · 917 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
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py35,py37
[pytest]
addopts = --ignore bin --ignore integration_tests/repos
[testenv]
deps=pytest
commands=
pytest --ignore=integration_tests/
# TODO: Add flake8 output.
[testenv:pre-commit]
deps=
pytest
flake8
flake8-docstrings
flake8-rst-docstrings
commands =
# Test against how we expect docstrings to be parsed.
pytest integration_tests/goldens.py
# Test the performance to make sure we don't introduce
# a severe regression.
pytest integration_tests/performance.py
# Test different source file encodings.
pytest integration_tests/sources.py
# Display the size of the grammar.
python integration_tests/grammar_size.py
# Display the performance statistics.
python integration_tests/performance.py
# Make sure darglint stays compatible with other common plugins.
pytest integration_tests/compatibility.py