-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
63 lines (59 loc) · 1.34 KB
/
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
60
61
62
63
[tox]
envlist = py312,flake8,black
[testenv]
deps =
freezegun
pytest
pytest-asyncio
pytest-mock
-r requirements.txt
commands =
pytest -s {posargs}
setenv =
STAGE=test
AWS_ACCESS_KEY_ID=mock
AWS_SECRET_ACCESS_KEY=mock
SERVICE_NAME=okdata-data-collectors
UPTIME_DATASET_ID=uptime-dataset
AGRESSO_BASE_URL=https://okonomi-query-engine.api.oslo.kommune.no
AGRESSO_PDF_BASE_URL=https://origo.oslo.systems/agresso-pdf/voucher
#AGRESSO_API_KEY=
OKR_TRACKER_API_BASE_URL=http://okr-tracker.api.arpa
SSB_BASE_URL=https://data.ssb.no/api/v0
STATISTIKKBANKEN_BASE_URL=https://statistikkbanken.oslo.kommune.no:443/statbank/sq
BARNEHAGEREGISTER_BASE_URL=https://data-nbr.udir.no/v4
BARNEHAGEFAKTA_BASE_URL=https://www.barnehagefakta.no/api
[testenv:flake8]
skip_install = true
deps =
flake8
commands =
flake8
[testenv:black]
skip_install = true
deps =
black
commands =
black --check .
[flake8]
# https://github.com/ambv/black/blob/master/.flake8
ignore = E203, E266, E501, W503
max-line-length = 80
max-complexity = 18
select = B,C,E,F,W,T4,B9
# Keep exclude in sync with black config in pyproject.toml
exclude =
.git,
.tox,
node_modules,
__pycache__,
libs,
*.pyc,
.cache,
.eggs,
*.egg,
*.egg-info,
env,
venv,
.*venv,
.serverless