-
Notifications
You must be signed in to change notification settings - Fork 299
/
setup.cfg
71 lines (65 loc) · 1.34 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[aliases]
test = pytest
[wheel]
universal = 1
[flake8]
max-line-length = 88
extend-ignore =
# whitespace before ':' - disabled as not PEP8 compliant
E203,
# line too long, as using bugbear
E501
extend-select =
# Line too long. This is a pragmatic equivalent of pycodestyle's E501
B950,
# Invalid first argument used for method.
B902
exclude =
build/lib,
.eggs
.tox,
env
.venv
[isort]
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True
ensure_newline_before_comments = True
line_length = 88
known_first_party = rest_framework_json_api
# This is to "trick" isort into putting example below DJA imports.
known_localfolder = example
skip=
build/lib,
.eggs
.tox,
env
.venv
[coverage:run]
source =
example
rest_framework_json_api
[coverage:report]
omit =
.tox/*
.eggs/*
example/urls.py
show_missing = True
exclude_lines =
pragma: no cover
pragma: todo cover
def __str__
def __unicode__
def __repr__
[tool:pytest]
DJANGO_SETTINGS_MODULE=example.settings.test
filterwarnings =
error::DeprecationWarning
error::PendingDeprecationWarning
# Django filter schema generation. Can be removed once we remove
# schema support
ignore:Built-in schema generation is deprecated.
testpaths =
example
tests