From d0e09d2ba567f23d91ac76d1844966bafb9b063a Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sun, 7 Jul 2024 02:29:26 +0100 Subject: Apply fixable lint settings with Ruff --- pyproject.toml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 00b4bdc..82d2c5b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ build-backend = "poetry.masonry.api" [tool.ruff] target-version = "py312" -extend-exclude = [".cache"] +extend-exclude = [".cache", "resources"] line-length = 100 unsafe-fixes = true preview = true @@ -47,16 +47,18 @@ ignore = [ "E731", "RET504", "RUF005", - "S311", + "S311", "S113", "S324", "SIM102", "SIM108", "PD", - "PLR0913", "PLR0917", "PLR6301", + "PLR0913", "PLR0917", "PLR6301", "PLR1702", "PLR0915", "PLR2004", + "PLR0912", "PLR0914", "PLR0911", "DTZ003", "INP001", "D102", - "D103", "D103", "D101", - "S113", + "D103", "D103", "D101", "D106", + "C901", "DTZ005", + "TRY004", "N805", # Rules suggested to be ignored when using ruff format -- cgit v1.2.3