-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
122 lines (107 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
[build-system]
requires = ["setuptools>=40.8.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
# Project information
name = "laminar"
description = "The workflow framework that works for you."
authors = [
{ name = "Ryan Chui", email = "[email protected]" }
]
# Package information
requires-python = ">=3.8"
dynamic = ["version", "readme", "dependencies", "optional-dependencies"]
# Project metadata
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Operating System :: Unix",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet",
"Typing :: Typed",
]
urls = { Homepage = "https://github.com/rchui/laminar", Documentation = "https://rchui.github.io/laminar/html/index.html" }
[tool.setuptools]
include-package-data = true
packages = { find = { include = ["laminar*"], exclude = ["*tests*", "test_*", "*_test"] } }
[tool.setuptools.dynamic]
version = { attr = "laminar.version.VERSION" }
readme = { file = "README.md", content-type = "text/markdown" }
dependencies = { file = "requirements.txt" }
[tool.setuptools.dynamic.optional-dependencies]
dev = { file = "requirements.dev.txt" }
[tool.black]
exclude = '''
(
/(
| \.venv
)/
)
'''
line-length = 120
preview = true
[tool.coverage.report]
exclude_lines = [
"pragma: not covered",
"@overload",
]
[tool.isort]
line_length = 120
profile = "black"
[tool.mypy]
follow_imports = "silent"
ignore_missing_imports = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
strict = true
[tool.pytest.ini_options]
addopts = "-vv --durations 10 --failed-first --strict-markers"
markers = [
"asyncio",
"flow",
]
[tool.ruff]
line-length = 120
target-version = "py38"
select = ["E", "F", "W", "I", "PGH", "UP"]
ignore = [
"E701", # Multiple statements on one line (colon)
"PGH003", # Use specific rule codes when ignoring type issues
"PGH004", # Use specific rule codes when using `noqa`
]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]