-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
138 lines (127 loc) · 2.84 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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[build-system]
requires = ["flit_core >=2,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.metadata]
module = "nwastdlib"
dist-name = "nwa-stdlib"
author = "SURF"
author-email = "[email protected]"
home-page = "https://github.com/workfloworchestrator/nwa-stdlib"
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Intended Audience :: Telecommunications Industry",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
]
requires = [
"anyio>=3.7.0",
"colorama~=0.4.3",
"pydantic>=2.4.0",
"pydantic_settings",
"strawberry-graphql>=0.246.2",
"redis>=5.0, <5.1.0",
"structlog>=22.1.0",
]
description-file = "README.md"
requires-python = ">=3.11"
[tool.flit.metadata.urls]
Documentation = "https://workfloworchestrator.org/"
[tool.flit.metadata.requires-extra]
test = [
"anyio",
"black",
"fakeredis",
"fastapi",
"httpx",
"mypy==1.6.1",
"mypy_extensions",
"pytest",
"pytest-cov",
"pytest-asyncio",
"redis",
"ruff",
]
dev = [
"bumpversion",
"jsonschema",
"pre-commit",
"types-redis"
]
[tool.black]
line-length = 120
target-version = ["py39", "py310"]
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| venv
| src
| build
)/
)
'''
[tool.nitpick]
style = "github://workfloworchestrator/nitpick-style@main/nitpick-style-orchestrator-core.toml"
[tool.ruff]
exclude = [
".git",
".cache",
".eggs",
"__pycache__",
"dist",
"src",
"venv",
".venv",
"docs",
]
lint.ignore = [
"C417",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D202",
"E501",
"N806",
"B905",
"N805",
"B904",
"N803",
"N801",
"N815",
"N802",
]
line-length = 120
lint.select = ["B", "C", "D", "E", "F", "I", "N", "RET", "S", "T", "W"]
target-version = "py39"
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101", "B033", "N816", "N802"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.isort]
known-third-party = ["pydantic"]