-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
93 lines (83 loc) · 2.04 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "rolo"
authors = [
{ name = "LocalStack Contributors", email = "[email protected]" }
]
version = "0.7.2"
description = "A Python framework for building HTTP-based server applications"
dependencies = [
"requests>=2.20",
"werkzeug>=3.0"
]
requires-python = ">=3.10"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries"
]
dynamic = ["readme"]
[project.optional-dependencies]
dev = [
"black==23.10.0",
"pytest>=7.0",
"hypercorn",
"pydantic",
"pytest_httpserver",
"websocket-client>=1.7.0",
"coverage[toml]>=5.0.0",
"coveralls>=3.3",
"localstack-twisted",
"ruff==0.1.0"
]
docs = [
"sphinx",
"furo",
"myst_parser",
]
[tool.setuptools]
include-package-data = false
[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type = "text/markdown"}
[tool.setuptools.packages.find]
include = ["rolo*"]
exclude = ["tests*"]
[tool.setuptools.package-data]
"*" = ["*.md"]
[tool.black]
line_length = 100
include = '((rolo)/.*\.py$|tests/.*\.py$)'
#extend_exclude = '()'
[tool.ruff]
# Always generate Python 3.10-compatible code.
target-version = "py310"
line-length = 110
select = ["B", "C", "E", "F", "I", "W", "T", "B9"]
ignore = [
"E501", # E501 Line too long - handled by black, see https://docs.astral.sh/ruff/faq/#is-ruff-compatible-with-black
]
exclude = [
".venv*",
"venv*",
"dist",
"build",
"target",
"*.egg-info",
".git",
]
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:",
"raise NotImplemented.",
"return NotImplemented",
"def __repr__",
"__all__",
]