-
Notifications
You must be signed in to change notification settings - Fork 14
/
tox.ini
65 lines (56 loc) · 1.01 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
64
65
[tox]
isolated_build = true
envlist = black,flake8,isort,mypy,unittests
[testenv:black]
skip_install = true
deps =
black
commands =
python -m black --check deltalake tests
[testenv:flake8]
skip_install = true
deps =
flake8
commands =
python -m flake8 deltalake tests
[testenv:isort]
skip_install = true
deps =
isort
commands =
python -m isort --check-only --recursive --diff .
[testenv:mypy]
skip_install = true
deps =
mypy
commands =
python -m mypy --config-file=tox.ini deltalake tests
[testenv:unittests]
deps=
pytest
pytest-rerunfailures
pytest-cov
pytest-sugar
pyspark==3.0.*
pandas
adlfs
s3fs
gcsfs
passenv=
AZURE_ACCOUNT_KEY
AZURE_ACCOUNT_NAME
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION
AWS_BUCKET
GCP_BUCKET
GOOGLE_APPLICATION_CREDENTIALS
GCP_PROJECT_ID
commands =
python -m pytest tests --verbose
[flake8]
max-line-length=100
[mypy]
ignore_missing_imports = True
[isort]
profile = black