forked from splintered-reality/py_trees
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
67 lines (59 loc) · 1.81 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
66
67
################################################################################
# Tox Configuration
################################################################################
[tox]
envlist = py36, py38, flake8
################################################################################
# PyTest
################################################################################
[testenv]
deps =
pytest
commands =
pytest
################################################################################
# Flake 8
################################################################################
[testenv:flake8]
skip_install = true
deps =
flake8
flake8-bugbear
flake8-docstrings>=1.3.1
flake8-typing-imports>=1.1
pep8-naming
commands =
# Eventually also run on tests/ setup.py
flake8 py_trees/
################################################################################
# Flake 8 Configuration
#
# Don't require docstrings, but parse them correctly if they are there.
#
# D100 Missing docstring in public module
# D101 Missing docstring in public class
# D102 Missing docstring in public method
# D103 Missing docstring in public function
# D105 Missing docstring in magic method
# D107 Missing docstring in __init__
#
# Jamming docstrings into a single line looks cluttered.
#
# D200 One-line docstring should fit on one line with quotes
#
# Weakly prefer breaking before a binary operator, so suppress that warning.
# See https://github.com/python/peps/commit/c59c4376ad233a62ca4b3a6060c81368bd21e85b
#
# W503 line break before binary operator
#
################################################################################
[flake8]
max-line-length = 120
statistics = 1
ignore = D100, D101, D102, D103, D105, D107, D200, W503
exclude =
.tox
.venv
.git
doc
dist