-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
69 lines (62 loc) · 2.04 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
[project]
authors = [
]
name = "litestar.dev"
description = "Source code for litestar.dev"
readme = "README.md"
version = "0.1.0"
license = {text = "MIT"}
requires-python = ">=3.11,<4.0"
dependencies = [
"pre-commit<4.0.0,>=3.2.0",
"litestar-sphinx-theme @ git+https://github.com/litestar-org/litestar-sphinx-theme.git",
"sphinx<8.0.0,>=7.0.0",
]
[tool.pdm.dev-dependencies]
docs = [
"sphinx-autobuild>=2021.3.14",
]
lint = [
"ruff>=0.0.292",
"codespell>=2.2.6",
"pyright>=1.1.329",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.sdist]
include = [
'README.md',
'/Makefile',
'/page',
]
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[tool.pyright]
include = ["page"]
[tool.ruff]
select = ["ALL"]
ignore = [
"E501", # pycodestyle line too long, handled by black
"D100", # pydocstyle - missing docstring in public module
"D101", # pydocstyle - missing docstring in public class
"D102", # pydocstyle - missing docstring in public method
"D103", # pydocstyle - missing docstring in public function
"D104", # pydocstyle - missing docstring in public package
"D105", # pydocstyle - missing docstring in magic method
"D106", # pydocstyle - missing docstring in public nested class
"D107", # pydocstyle - missing docstring in __init__
"D202", # pydocstyle - no blank lines allowed after function docstring
"D205", # pydocstyle - 1 blank line required between summary line and description
"D415", # pydocstyle - first line should end with a period, question mark, or exclamation point
"UP037", # pyupgrade - removes quotes from type annotation
"A003", # flake8-builtins - class attribute {name} is shadowing a python builtin
"B010" # flake8-bugbear - do not call setattr with a constant attribute value
]
line-length = 120
src = ["page"]
target-version = "py311"
[tool.ruff.pydocstyle]
convention = "google"