-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
55 lines (44 loc) · 1.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
[tool.poetry]
name = "lunchmenu"
version = "0.1.0"
description = ""
authors = ["Daniel Trnka <daniel.trnka@gmail.com>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.8"
httpx = "^0.27.0"
selectolax = "^0.3.21"
fastapi = "^0.111.0"
uvicorn = {extras = ["standard"], version = "^0.30.1"}
redis = {extras = ["hiredis"], version = "^5.0.7"}
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.5.0"
ruff = "^0.4.6"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
strict = true
[tool.ruff]
line-length = 120
[tool.ruff.format]
quote-style = "double"
docstring-code-format = true
[tool.ruff.lint]
extend-select = [
"C4", # flake8-comprehensions
"E", # Error
"I", # isort
"F", # pyflakes
"N", # pep8-naming
"Q", # flake8-quotes
"SIM", # flake8-simplify
"TRY", # tryceratops
"UP", # pyupgrade
"W", # Warning
"YTT", # flake8-2020
]
ignore = ["N806"]
[tool.ruff.lint.isort]
known-third-party = ["fastapi", "pydantic", "starlette"]