summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 2ef1e9e9ead04dea350dcf1a7e27f19e9504ba1d (plain)
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
[tox]
envlist =
  black
  pep8
  mypy
  pylint
skipsdist = True

[defs]
pyfiles =
  python/repopush_test

[testenv:black]
deps =
  black >= 20b0, <= 21b0
commands =
  black --check {[defs]pyfiles}

[testenv:black-reformat]
deps =
  black >= 20b0, <= 21b0
commands =
  black {[defs]pyfiles}

[testenv:pep8]
deps =
  flake8
commands =
  flake8 {[defs]pyfiles}

[testenv:mypy]
deps =
  mypy
commands =
  mypy {[defs]pyfiles}

[testenv:pylint]
deps =
  pylint
commands =
  pylint {[defs]pyfiles}