forked from bcgov/eao-project-reports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
executable file
·87 lines (76 loc) · 1.62 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
[metadata]
name = reports_api
url = https://github.com/bcgov/eao-project-reports/
author = EAO
author_email =
classifiers =
Development Status :: Beta
Intended Audience :: Developers / QA
Topic :: EAO Reports
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]
reports_api =
[wheel]
universal = 1
[bdist_wheel]
universal = 1
[aliases]
test = pytest
[flake8]
ignore = I001, I003, I004, E126, W504
exclude = .git,*migrations*
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
notes=FIXME,XXX # TODO is ignored
match_dir = src/reports_api
ignored-modules=flask_sqlalchemy
sqlalchemy
per-file-ignores =
*/__init__.py:F401
good-names=
b,
d,
i,
e,
f,
u,
rv,
logger,
id,
p,
rs,
[pylint]
ignore=migrations,test
max_line_length=120
notes=FIXME,XXX,TODO
ignored-modules=flask_sqlalchemy,sqlalchemy,SQLAlchemy,alembic,scoped_session
ignored-classes=scoped_session
min-similarity-lines=15
disable=C0301,W0511
[isort]
line_length = 120
indent = 4
multi_line_output = 4
lines_after_imports = 2
[tool:pytest]
addopts = --cov=src --cov-report html:htmlcov --cov-report xml:coverage.xml
testpaths = tests/unit
filterwarnings =
ignore::UserWarning