forked from facebookresearch/EGG
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
36 lines (30 loc) · 712 Bytes
/
Copy pathtox.ini
File metadata and controls
36 lines (30 loc) · 712 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
31
32
33
34
35
36
[tox]
isolated_build = True
envlist = check-copyright, black-check, isort-check, flake8
[testenv:flake8]
skip_install = True
deps =
flake8
pydocstyle
commands =
flake8 egg tests scripts
[testenv:black]
skip_install = True
deps = black==20.8b1
commands = black egg tests scripts
[testenv:black-check]
skip_install = True
deps = black==20.8b1
commands = black egg tests scripts --check --verbose
[testenv:isort]
skip_install = True
deps = isort==5.6.4
commands = isort egg tests scripts
[testenv:isort-check]
skip_install = True
deps = isort==5.6.4
commands = isort --check-only egg tests scripts
[testenv:check-copyright]
skip_install = True
deps =
commands = python3 scripts/check_copyright.py