chore(repo): reformat pyproject.toml and disable a stupid linting rule
This commit is contained in:
parent
d5a248733a
commit
5c5a2f28b2
1 changed files with 19 additions and 9 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Reference in a new issue