chore: update dependencies & scripts

This commit is contained in:
ducklet 2024-05-10 00:13:01 +02:00
parent 2bf5607183
commit 738799cc74
15 changed files with 1351 additions and 993 deletions

View file

@ -1,3 +1,6 @@
[project]
requires-python = ">=3.12"
[tool.poetry]
name = "unwind"
version = "0"
@ -9,10 +12,10 @@ license = "LOL"
python = "^3.12"
beautifulsoup4 = "^4.9.3"
html5lib = "^1.1"
starlette = "^0.30"
starlette = "^0.37.2"
ulid-py = "^1.1.0"
uvicorn = "^0.23"
httpx = "^0.24"
uvicorn = "^0.29.0"
httpx = "^0.27.0"
sqlalchemy = {version = "^2.0", extras = ["aiosqlite"]}
[tool.poetry.group.build.dependencies]
@ -40,7 +43,20 @@ build-backend = "poetry.core.masonry.api"
[tool.pyright]
pythonVersion = "3.12"
[tool.ruff]
target-version = "py312"
ignore-init-module-imports = true
select = ["I", "F401", "F601", "F602", "F841"]
[tool.ruff.lint]
select = [
# See https://docs.astral.sh/ruff/rules/ for a list of all rules.
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"E", # pycodestyle Error
"F", # Pyflakes unused-import
"I", # isort
"RUF", # Ruff-specific rules
"S", # flake8-bandit
"W", # pycodestyle Warning
]
ignore = [
"B008", # flake8-bugbear function-call-in-default-argument
"E501", # pycodestyle line-too-long
"S101", # flake8-bandit assert
]