chore(repo): reformat pyproject.toml and disable a stupid linting rule

This commit is contained in:
cswimr 2025-01-26 13:16:26 +00:00
parent d5a248733a
commit 5c5a2f28b2
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -2,8 +2,8 @@
name = "seacogs"
version = "0.1.0"
description = "My assorted cogs for Red-DiscordBot."
authors = [{name = "cswimr", email = "seaswimmerthefsh@gmail.com"}]
license = {file="LICENSE"}
authors = [{ name = "cswimr", email = "seaswimmerthefsh@gmail.com" }]
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
@ -33,11 +33,7 @@ documentation = [
]
[tool.uv]
dev-dependencies = [
"pylint>=3.3.1",
"ruff>=0.6.9",
"sqlite-web>=0.6.4",
]
dev-dependencies = ["pylint>=3.3.1", "ruff>=0.6.9", "sqlite-web>=0.6.4"]
[tool.uv.sources]
py-dactyl = { git = "https://github.com/cswimr/pydactyl" }
@ -84,8 +80,22 @@ target-version = "py311"
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
select = ["I", "N", "F", "W", "E", "G", "INP", "T20", "PLC", "PLE", "PLW", "PLR", "LOG"]
ignore = ["PLR0912", "PLR0915", "PLR2004"]
select = [
"I",
"N",
"F",
"W",
"E",
"G",
"INP",
"T20",
"PLC",
"PLE",
"PLW",
"PLR",
"LOG",
]
ignore = ["PLR0912", "PLR0915", "PLR2004", "PLR0913"]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]