-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (91 loc) · 2.21 KB
/
pyproject.toml
File metadata and controls
94 lines (91 loc) · 2.21 KB
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
[build-system]
build-backend = "hatchling.build"
requires = [ "hatchling" ]
[project]
name = "datastar-py"
version = "0.8.0"
description = "Helper functions and classes for the Datastar library (https://data-star.dev/)"
readme = "README.md"
keywords = [
"datastar",
"django",
"fastapi",
"fasthtml",
"flask",
"html",
"litestar",
"quart",
"sanic",
"starlette",
]
license = "MIT"
license-files = [ "LICENSE.md" ]
authors = [
{ name = "Felix Ingram", email = "f.ingram@gmail.com" },
{ name = "Lucian Knock", email = "git@lucianknock.com" },
{ name = "Chase Sterling", email = "chase.sterling@gmail.com" },
]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = []
urls.Documentation = "https://github.com/starfederation/datastar-python/blob/develop/README.md"
urls.GitHub = "https://github.com/starfederation/datastar-python"
[dependency-groups]
dev = [
"django>=4.2.23",
"fastapi>=0.116.1",
"litestar>=2.17",
"pre-commit>=4.2",
"python-fasthtml>=0.12.25; python_full_version>='3.10'",
"quart>=0.20",
"sanic>=25.3",
"starlette>=0.47.3",
]
[tool.ruff]
line-length = 99
lint.select = [
# Annotations
"ANN",
# flake8-bugbear
"B",
"D",
# pycodestyle
"E",
# Pyflakes
"F",
# isort
"I",
# Ruff specific
"RUF",
# flake8-simplify
"SIM",
# pyupgrade
"UP",
]
lint.ignore = [
"D100", # undocumented-public-module
"D101", # undocumented-public-class
"D102", # undocumented-public-method
"D103", # undocumented-public-function
"D104", # undocumented-public-package
"D107", # undocumented-public-init
"D203", # Conflicting with other rules
"D213", # Conflicting with other rules
"D401", # non-imperative-mood
"D415", # Duplicate of D400
"E501",
]
lint.per-file-ignores."examples/**/*.py" = [ "ANN" ]
lint.fixable = [ "ALL" ]