From a63ca60b573154cd038bae450137840b2fb30cce Mon Sep 17 00:00:00 2001 From: Tomas Kubla Date: Sat, 16 Mar 2024 22:26:27 +0100 Subject: [PATCH] Ruff: Move F403 --- dojo/settings/unittest.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dojo/settings/unittest.py b/dojo/settings/unittest.py index 3756a15d1c6..c8831991e3e 100644 --- a/dojo/settings/unittest.py +++ b/dojo/settings/unittest.py @@ -2,7 +2,7 @@ # first; # Do so by copying the file dojo/settings/settings.dist.py to # dojo/settings/settings.py; Otherwise, the following import will not work -from .settings import * +from .settings import * # noqa: F401,F403 DEBUG = True diff --git a/pyproject.toml b/pyproject.toml index a5b0e8e4206..97d2ba23ebd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ # Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or # McCabe complexity (`C901`) by default. lint.select = ["E", "F"] - lint.ignore = ["E501", "E722", "E402", "F821", "F601", "F403"] + lint.ignore = ["E501", "E722", "E402", "F821", "F601"] # Allow autofix for all enabled rules (when `--fix`) is provided. lint.fixable = ["ALL"]