From 23986fd1c98d334c2318428bd1ed627ea68cca62 Mon Sep 17 00:00:00 2001 From: Jonas Dittrich <58814480+Kakadus@users.noreply.github.com> Date: Mon, 30 Oct 2023 22:54:28 +0100 Subject: [PATCH] add some more rules --- pyproject.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 26c79cee8b..b0ce858771 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,16 +28,20 @@ extend_skip_glob = ["**/migrations/*"] # * custom assert methods use camelCase # * Formsets use PascalCase -select = ["F", "E", "B", "W", "N", "UP", "YTT", "FIX"] +target-version = "py310" +select = ["F", "E", "B", "W", "N", "UP", "YTT", "FIX", "ASYNC", "A"] ignore = [ "E501", # line-too-long: black does code formatting for us - "N806", "FIX004", # hacks should be possible + "A003", ] ignore-init-module-imports = true pep8-naming.extend-ignore-names = ["assert*", "*Formset"] +[tool.ruff.per-file-ignores] +"**/migrations/*.py" = ["N806"] + ##############################################