-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.cfg
120 lines (107 loc) · 2.08 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
[metadata]
name = registry_schemas
url = https://github.com/bcgov/bcregistries-schemas
author = team-le
author_email = thor@wolpert.ca
classifiers =
Development Status :: Beta
Intended Audience :: Developers / QA
Topic :: Legal Entities
License :: OSI Approved :: Apache Software License
Natural Language :: English
Programming Language :: Python :: 3.7
license = Apache Software License Version 2.0
description = A short description of the project
long_description = file: README.md
keywords =
[options]
zip_safe = True
python_requires = >=3.6
include_package_data = True
packages = find:
[options.package_data]
schemas =
[wheel]
universal = 1
[bdist_wheel]
universal = 1
[aliases]
test = pytest
[flake8]
exclude = .git,*migrations*
multi_line_output=3
max-line-length = 120
docstring-min-length=10
per-file-ignores =
*/__init__.py:F401
[pycodestyle]
max_line_length = 120
ignore = E501
docstring-min-length=10
multi_line_output=3
use_parentheses=True
indent=4
notes=FIXME,XXX # TODO is ignored
match_dir = src/registry_schemas
ignored-modules=
per-file-ignores =
*/__init__.py:F401
good-names=
b,
d,
e,
f,
i,
k,
u,
rv,
logger,
[MASTER]
load-plugins=pylint.extensions.no_self_use
[pylint]
ignore=migrations,test
max-line-length=120
notes=FIXME,XXX,TODO
ignored-modules=
ignored-classes=
disable=C0301,W0511,R0801,R0902,R6301
[isort]
line_length=120
indent=4
multi_line_output=3
lines_after_imports=2
use_parentheses=True
include_trailing_comma=True
length_sort=False
[tool:pytest]
minversion = 2.0
testpaths = tests
addopts = --verbose
--strict
-p no:warnings
python_files = tests/*/test*.py
norecursedirs = .git .tox venv* requirements* build
log_cli = true
log_cli_level = 1
filterwarnings =
ignore::UserWarning
markers =
slow
serial
[coverage:run]
branch = True
source =
src/registry_schemas
omit =
[report:run]
exclude_lines =
pragma: no cover
from
import
def __repr__
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.: