-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a2c689d
commit 4705a6a
Showing
1 changed file
with
117 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
[metadata] | ||
name = auth-queue | ||
url = https://github.com/bcgov/sbc-auth/queue_services/auth-queue | ||
author = SBC Relationships team | ||
author_email = | ||
classifiers = | ||
Development Status :: Beta | ||
Intended Audience :: Developers / QA | ||
Topic :: Payments | ||
License :: OSI Approved :: Apache Software License | ||
Natural Language :: English | ||
Programming Language :: Python :: 3.8 | ||
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] | ||
events_listener = | ||
|
||
[wheel] | ||
universal = 1 | ||
|
||
[bdist_wheel] | ||
universal = 1 | ||
|
||
[aliases] | ||
test = pytest | ||
|
||
[flake8] | ||
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/auth_queue | ||
ignored-modules=flask_sqlalchemy | ||
sqlalchemy | ||
per-file-ignores = | ||
*/__init__.py:F401 | ||
good-names= | ||
b, | ||
d, | ||
i, | ||
e, | ||
f, | ||
k, | ||
u, | ||
v, | ||
ar, | ||
cb, #common shorthand for callback | ||
nc, | ||
rv, | ||
sc, | ||
event_loop, | ||
logger, | ||
loop, | ||
|
||
[pylint] | ||
ignore=migrations,test | ||
notes=FIXME,XXX,TODO | ||
ignored-modules=flask_sqlalchemy,sqlalchemy,SQLAlchemy,alembic,scoped_session | ||
ignored-classes=scoped_session | ||
disable=C0301,W0511,R0801,R0902 | ||
|
||
[isort] | ||
line_length = 120 | ||
indent = 4 | ||
multi_line_output = 4 | ||
lines_after_imports = 2 | ||
|
||
[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/auth_queue | ||
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__.: |