From 1bfc78f49a0d8237768775fd78e76f89d7503557 Mon Sep 17 00:00:00 2001 From: SKairinos Date: Tue, 16 Jan 2024 14:06:46 +0000 Subject: [PATCH] ignore migrations --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 53a17e15..7eaa00e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,6 +12,9 @@ extend-exclude = "^/codeforlife/user/migrations/" [tool.pytest.ini_options] env = ["DJANGO_SETTINGS_MODULE=manage"] +[tool.pylint.MASTER] +ignore-paths = [".*/migrations/.*py"] + [tool.mypy] plugins = ["mypy_django_plugin.main", "mypy_drf_plugin.main"] check_untyped_defs = true @@ -28,3 +31,4 @@ max-line-length = 80 [tool.isort] profile = "black" line_length = 80 +skip_glob = ["**/migrations/*.py"]