-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
56 lines (49 loc) · 1.14 KB
/
setup.cfg
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
[coverage:html]
directory = .htmlcov
[coverage:run]
omit =
aot/test/*
aot/__main__.py
aot/reload.py
aot/run.py
[flake8]
exclude = conf.py,scripts/*,snap_test*.py
ignore =
# A001,A002,A003: id builtin shadowing.
A001,A002,A003,
# D10x: missing docstring for public things.
D100,D101,D102,D103,D104,D105,D106,D107,
# D300: use triple double quotes.
D300,
# N802: function name should be lowercase.
# Since autobahn uses camel case function names, we must ignore this.
N802,
# S101: use of assert
S101,
# S311 Standard pseudo-random generators are not suitable for security/cryptographic purposes
S311,
# W503: line break before binary operator
W503,
max_complexity = 10
max_line_length = 100
docstring_convention=google
[isort]
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=100
known_first_party=aot
skip_glob=*snapshots*
[tool:pytest]
addopts =
-rsxX
--strict
env =
ENV=pytest
CACHE_SIGN_KEY=secret-key
markers =
integration: mark a test as an integration test.
minversion = 3.1
testpaths = tests
xfail_strict = true