We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4fb42d commit f9e5d3cCopy full SHA for f9e5d3c
1 file changed
tox.ini
@@ -2,8 +2,8 @@
2
min_version = 4.0
3
env_list =
4
unittests
5
- genproto
6
build
+ lint
7
isolated_build = true
8
9
[tox:.package]
@@ -43,6 +43,13 @@ commands =
43
coverage report -m
44
coverage xml
45
46
+[testenv:lint]
47
+extras = tests
48
+commands =
49
+ flake8 --docstring-convention=numpy
50
+ black --line-length 90 --check --diff .
51
+
52
53
[testenv:flake8]
54
commands=flake8 {posargs}
55
@@ -61,6 +68,7 @@ application-import-names = etcd3
61
68
max-complexity = 10
62
69
# TODO add docstrings for public methods, modules, etc
63
70
ignore = D1, W503
71
+max-line-length = 90
64
72
65
73
[pytest]
66
74
tmp_path_retention_policy = none
0 commit comments