forked from BYUCamachoLab/sky130ph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
57 lines (48 loc) · 884 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[tox]
envlist = py37, py38, py39, py310
[testenv]
commands = pytest
deps=
pytest
-rrequirements.txt
-rrequirements_dev.txt
# Linters
[testenv:flake8]
basepython = python3
skip_install = true
deps =
flake8
flake8-bugbear
flake8-docstrings>=1.3.1
flake8-import-order>=0.9
flake8-typing-imports>=1.1
pep8-naming
commands =
flake8
# Flake8 Configuration
[flake8]
ignore = D203, W503, E203, B950
exclude =
.tox,
.git,
__pycache__,
docs/source/conf.py,
build,
dist,
tests/fixtures/*,
*.pyc,
*.egg-info,
.cache,
.eggs
max-complexity = 10
import-order-style = google
application-import-names = flake8
[testenv:docs]
commands =
py.test --doctest-glob="*.md" --doctest-glob="README.md" README.md
[testenv:mypy]
skip_install = True
deps =
mypy
commands=
mypy . ignore-missing-imports --pretty