-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpytest.ini
42 lines (36 loc) · 1.08 KB
/
pytest.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
# Configuration of py.test
[pytest]
addopts=-v
# -s -n auto
# -x
# --pep8
--cov=falcon_caching
--cov-fail-under 78
--showlocals
--disable-pytest-warnings
--ignore=docs
--reruns 5
--reruns-delay 1
# Do not run tests in the build folder
#norecursedirs= build
# No individual test should be running longer than 12 minutes.
# Otherwise, something went wrong.
timeout = 720
# PEP-8 The following are ignored:
# E402 module level import not at top of file
# E731 do not assign a lambda expression, use a def
# W503 line break occurred before a binary operator
# E701 multiple statements on one line (colon) (avoid errors on type hinting)
# W293 blank line contains whitespace
# you can also ignore select lines of code with "# nopep8"
pep8ignore=* E402 \
* E731 \
* W503 \
* E701 \
* W293 \
docs/* ALL
# Enable line length testing with maximum line length of 120
pep8maxlinelength = 120
# defining env variables with the help of pytest-env module
#env =
# CONFIG=testing