forked from jazzband/sorl-thumbnail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
47 lines (37 loc) · 1.03 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
[wheel]
universal = 1
[bdist_wheel]
universal = 1
;; flake8 analyzes and detect varios errors in the source code.
[flake8]
# D105 - Missing docstring in magic method `__func__`
ignore = D105
max-line-length = 100
exclude = .git,
.tox,
docs/,
*/migrations/*,
tests/settings/
tests/thumbnail_tests/compat.py,
sorl/thumbnail/__init__.py,
sorl/thumbnail/admin/__init__.py,
sorl/thumbnail/compat.py
max_complexity = 15
;; Coverage.py, Code coverage testing for Python.
[cov:run]
source = sorl
omit = */sorl-thumbnail/sorl/__init__.py
*/sorl/thumbnail/__init__.py
*/sorl/thumbnail/conf/__init__.py
*/sorl/thumbnail/admin/compat.py
*/sorl/thumbnail/admin/__init__.py
*/sorl/thumbnail/compat.py
[cov:report]
exclude_lines = pragma: no cover
if __name__ == .__main__.:
;; The pytest framework
[tool:pytest]
python_files = test_*.py *tests.py
norecursedirs = .* tmp* __pycache__
testpaths = tests
django_find_project = false