forked from pyinfra-dev/pyinfra
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
49 lines (36 loc) · 1.08 KB
/
setup.cfg
File metadata and controls
49 lines (36 loc) · 1.08 KB
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
[bdist_wheel]
universal = 1
[flake8]
exclude = .git,venv,build
ignore = W503,C815,C816
max-line-length = 100
# flake8-quotes
inline-quotes = single
multiline-quotes = single
docstring-quotes = single
# flake8-import-order
import-order-style = edited
application-import-names = pyinfra,pyinfra_cli
# flake8-spellcheck
whitelist = words.txt
dictionaries=en_US,python,technical,django
[coverage:report]
show_missing = true
skip_covered = true
precision = 1
include = pyinfra/*, pyinfra_cli/*
[coverage:run]
concurrency = gevent
[tool:pytest]
# Temp tune this next line down to find the slow unittest(s).
# unittests should each all run well under a second.
# (timeout is in seconds)
timeout = 300
addopts = -m'not int and not vagrant'
# example running int tests:
# pytest -vv -l --forked -m'int'
# example running all tests:
# pytest -vv -l --forked -m'int or not int or not vagrant'
markers =
int: marks tests as integration tests (deselect with '-m "not int"')
vagrant: marks tests as integration tests that requires vagrant to be installed (deselect with '-m "not vagrant"')