-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
76 lines (67 loc) · 1.96 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
[project]
name = "dorm-project"
version = "0.2.15"
description = "dorm is a minimal Django wrapper that lets you use its ORM independently, without the full framework."
readme = "README.md"
authors = [
{ name = "Harsh Bhikadia", email = "harsh@bhikadia.com" }
]
requires-python = ">=3.10"
dependencies = [
"django>=5.0.0,<6.0.0",
]
license = "MIT"
keywords = [
"django",
"django orm",
"orm",
]
classifiers = [
# python - 3.10, 3.11, 3.12
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
# Django - 5
"Framework :: Django :: 5",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
# Other
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Topic :: Database :: Front-Ends",
]
[project.urls]
"Source code" = "https://github.com/daadu/dorm"
[project.scripts]
dorm = "dorm:_cli"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/dorm"]
[tool.uv.sources]
dorm-project = { workspace = true }
[tool.uv.workspace]
members = ["examples/basic", "examples/empty", "examples/nested_entrypoint"]
[tool.ruff]
line-length = 120
show-fixes = true
[tool.ruff.lint]
extend-select = ["C4", "SIM", "TCH"]
extend-ignore = [
# Skip over usage of simplification at the cost of readability
# :: Return the negated condition directly
"SIM103",
# :: Use a single `with` statement with multiple contexts instead of nested `with` statements
"SIM117",
# :: Use `dict.get("key", default)` instead of an `if` block
# - doesn't work efficiently when `default` is a lazy loaded, as it gets it egerly
"SIM401",
# Yoda condition detected
# - sometimes the yoda style makes more sense!
"SIM300",
]
[tool.ruff.format]
quote-style = "preserve"