From 1d580fa60a7e36ed9995c621ea9ce5e460a853b0 Mon Sep 17 00:00:00 2001 From: spacemanspiff2007 <10754716+spacemanspiff2007@users.noreply.github.com> Date: Mon, 28 Oct 2024 13:15:21 +0100 Subject: [PATCH] ci --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8042f512..f6bb31bc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,14 +20,14 @@ repos: - id: ruff name: ruff unused imports # F401 [*] {name} imported but unused - args: [ "--select", "F401", "--extend-exclude", "__init__.py", "--fix"] + args: [ "--select", "F401,I001", "--extend-exclude", "__init__.py", "--fix"] - id: ruff # I001 [*] Import block is un-sorted or un-formatted # UP035 [*] Import from {target} instead: {names} # Q000 [*] Double quote found but single quotes preferred # Q001 [*] Double quote multiline found but single quotes preferred - args: [ "--select", "I001,UP035,Q000,Q001", "--fix"] + args: [ "--select", "UP035,Q000,Q001", "--fix"] - repo: https://github.com/JelleZijlstra/autotyping