-
Notifications
You must be signed in to change notification settings - Fork 4
/
tox.ini
59 lines (53 loc) · 968 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
58
59
[tox]
envlist = py311
[testenv]
extras = test
envdir = toxenv
passenv = AWS_DEFAULT_REGION
commands =
flake8 ./stactools_pipelines/pipelines/{env:PIPELINE}
pip install -r ./stactools_pipelines/pipelines/{env:PIPELINE}/requirements.txt --no-cache-dir
python -m pytest ./stactools_pipelines/pipelines/{env:PIPELINE} -s
[testenv:dev]
extras = dev
envdir = devenv
passenv =
STACKNAME
PROJECT
AWS_*
whitelist_externals = sh
commands =
nodeenv --node=18.0.0 -p
npm install -g [email protected]
cdk --version
pip install -e .
[flake8]
ignore = E203, E266, E501, W503, F403, E231
exclude =
__pycache__
.git
.tox
venv*
toxenv*
devenv*
cdk.out
*.egg-info
max-line-length = 90
max-complexity = 18
select = B,C,E,F,W,T4,B9
[black]
line-length = 90
exclude =
__pycache__
.git
.tox
venv*
toxenv*
devenv*
cdk.out
*.egg-info
[isort]
profile = black
[pytest]
addopts = -ra -q
testpaths = stactools_pipelines/pipelines