forked from Breakthrough-Energy/PowerSimData
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
30 lines (27 loc) · 621 Bytes
/
tox.ini
File metadata and controls
30 lines (27 loc) · 621 Bytes
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
[tox]
envlist = pytest-local, format, flake8
skipsdist = true
[testenv]
passenv =
CPPFLAGS
LDFLAGS
deps =
pytest: pipenv
{format,checkformatting}: black
{format,checkformatting}: isort
flake8: flake8
flake8: pep8-naming
commands =
pytest: pipenv sync --dev
ci: pytest -m 'not ssh' {posargs}
local: pytest -m 'not integration'
integration: pytest
format: black .
format: isort .
checkformatting: black . --check --diff
checkformatting: isort --check --diff .
flake8: flake8 powersimdata/
[flake8]
ignore = E501,W503,E741,E203,W605
[isort]
profile = black