-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
82 lines (68 loc) · 1.68 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
[tool.rye.scripts]
fmt = "rye fmt"
lint = "rye lint --fix"
check = "pyright"
test = "rye test"
all = { chain = ["fmt", "lint", "check", "test"] }
[project]
name = "upid"
description = "Universally Unique Prefixed Lexicographically Sortable Identifier"
authors = [
{ name = "Chris Arderne", email = "[email protected]" }
]
readme = "README.md"
license = {text = "MIT License"}
requires-python = ">= 3.9"
keywords = ["UUID", "id", "database"]
dynamic = ["version"]
classifiers = [
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries",
]
dependencies = []
[project.urls]
homepage = "https://github.com/carderne/upid"
repository = "https://github.com/carderne/upid"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.build]
package-dir = "py"
[tool.pdm.version]
source = "scm"
[tool.rye]
managed = true
dev-dependencies = [
"pytest~=8.2.2",
"pyright~=1.1.370",
]
[tool.ruff]
include = ["py/**/*.py"]
exclude = ["examples"]
target-version = "py39"
line-length = 120
[tool.ruff.lint]
select = ["A", "E", "F", "I", "N", "Q", "U", "T100"]
[tool.ruff.lint.isort]
known-first-party = ["upid"]
[tool.pyright]
venvPath = "."
venv = ".venv"
include = ["py"]
strict = ["py/**"]
reportUnnecessaryTypeIgnoreComment = true
pythonVersion = "3.9"
pythonPlatform = "Linux"
[tool.pytest.ini_options]
addopts = ""
testpaths = [
"py/tests",
]