selecta-highscore/pyproject.toml
2026-06-12 00:34:02 +02:00

46 lines
963 B
TOML

[project]
name = "selecta-highscore"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"django>=6.0.6",
"django-ninja>=1.6.2",
]
[dependency-groups]
dev = [
"ruff>=0.15.17",
]
[tool.ruff]
src = ["highscore"]
line-length = 100
[tool.ruff.lint]
select = [
"E", "W", # pycodestyle
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"DJ", # flake8-django
"S", # flake8-bandit (security)
"SIM", # flake8-simplify
"T20", # flake8-print
"RUF", # ruff-specific
]
ignore = [
"S101", # assert in tests is fine
"RUF012", # ClassVar not needed for Django Meta attributes
]
[tool.ruff.lint.per-file-ignores]
"*/migrations/*.py" = ["E501"]
"*/settings.py" = ["S105"]
[tool.ruff.lint.isort]
known-first-party = ["app", "scores"]