unwind/pyproject.toml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

65 lines
1.5 KiB
TOML
Raw Normal View History

2024-05-10 00:13:01 +02:00
[project]
requires-python = ">=3.12"
[tool.poetry]
name = "unwind"
version = "0"
description = ""
authors = ["ducklet <ducklet@noreply.code.dumpr.org>"]
license = "LOL"
[tool.poetry.dependencies]
python = "^3.12"
beautifulsoup4 = "^4.9.3"
html5lib = "^1.1"
2024-05-10 00:13:01 +02:00
starlette = "^0.37.2"
ulid-py = "^1.1.0"
2024-05-10 00:13:01 +02:00
uvicorn = "^0.29.0"
httpx = "^0.27.0"
sqlalchemy = {version = "^2.0", extras = ["aiosqlite"]}
2022-10-23 12:24:51 +02:00
[tool.poetry.group.build.dependencies]
# When we run poetry export, typing-extensions is a transient dependency via
# sqlalchemy, but the hash won't be included in the requirements.txt.
# By making it a direct dependency we can fix this issue, otherwise this could
# be removed.
typing-extensions = "*"
2022-10-23 12:24:51 +02:00
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pytest = "*"
2021-12-07 21:16:48 +01:00
pyright = "*"
2022-10-23 12:24:51 +02:00
pytest-asyncio = "*"
2023-03-19 00:06:14 +01:00
pytest-cov = "*"
ruff = "*"
2023-11-26 16:46:38 +01:00
honcho = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
2021-11-02 14:25:50 +01:00
[tool.pyright]
pythonVersion = "3.12"
2023-02-03 22:10:11 +01:00
2024-05-10 00:13:01 +02:00
[tool.ruff.lint]
select = [
# See https://docs.astral.sh/ruff/rules/ for a list of all rules.
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"DTZ", # flake8-datetimez
2024-05-10 00:13:01 +02:00
"E", # pycodestyle Error
"F", # Pyflakes unused-import
"I", # isort
"RUF", # Ruff-specific rules
"S", # flake8-bandit
"T20", # flake8-print
2024-05-10 00:13:01 +02:00
"W", # pycodestyle Warning
]
ignore = [
"B008", # flake8-bugbear function-call-in-default-argument
"E501", # pycodestyle line-too-long
"S101", # flake8-bandit assert
]