forked from jazzband/sorl-thumbnail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
40 lines (31 loc) · 880 Bytes
/
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
[bdist_wheel]
universal = 0
;; 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/
sorl/thumbnail/__init__.py,
sorl/thumbnail/admin/__init__.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/__init__.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