forked from sysid/sse-starlette
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
80 lines (70 loc) · 1.77 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
[metadata]
name = sse-starlette
version = 1.2.1
description = "SSE plugin for Starlette"
long_description = file: README.md, LICENSE
long_description_content_type = text/markdown
author = sysid
author_email = [email protected]
url = https://github.com/sysid/sse-starlette
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Web Environment
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3.9
[options]
packages = find:
install_requires =
starlette
include_package_data = True
python_requires = >=3.8
[options.package_data]
sse_starlette = "./sse_starlette/py.typed"
[isort]
profile = black
src_paths = isort,test
skip = .gitignore,.dockerignore,.tox,.venv,build,dist
[flake8]
max-complexity = 10
max-line-length = 88
ignore =
E203 ; whitespace before ‘:’ (black)
F541 ; f-string is missing placeholders
B008 ; Do not perform function calls in argument defaults.
E501 ; line too long (will be taken care of by black)
ASS001 ; do not use bare asserts
exclude =
.git
__pycache__
.venv
.eggs
*.egg
dist
[mypy]
python_version = 3.10
warn_return_any = True
warn_unused_configs = True
exclude = (tests,)
ignore_missing_imports = True
follow_imports = silent
no_implicit_optional = True
[mypy-gldpm.tests]
disallow_untyped_defs = True
[coverage:run]
omit = tests/*,**/__main__.py,**/.venv/*,**/site-packages/*,examples/*
branch = True
[coverage:report]
show_missing = True
skip_covered = True
fail_under = 75
[tool:pytest]
markers =
integtest: mark a test as a integration-test.
# https://github.com/pytest-dev/pytest-asyncio#modes
asyncio_mode = auto
[tool.scriv]
format = md
version = literal: sse_starlette/__init__.py: __version__