From 293b9c22e5f8ae929dcc060ea22330589c7e8ab2 Mon Sep 17 00:00:00 2001 From: Anton Kasimov Date: Wed, 10 Jan 2024 03:10:30 +0300 Subject: [PATCH] New exceptions for flake8 in tests --- cookiecutter-python/{{ cookiecutter.project_slug }}/setup.cfg | 2 +- nitpick/flake8.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cookiecutter-python/{{ cookiecutter.project_slug }}/setup.cfg b/cookiecutter-python/{{ cookiecutter.project_slug }}/setup.cfg index 9ecb9d9..ca49404 100644 --- a/cookiecutter-python/{{ cookiecutter.project_slug }}/setup.cfg +++ b/cookiecutter-python/{{ cookiecutter.project_slug }}/setup.cfg @@ -1,5 +1,5 @@ [flake8] -per-file-ignores = tests/**.py: S101, D103, ANN201 +per-file-ignores = tests/**.py: S101, S106, D103, ANN201, WPS442 spellcheck-targets=comments sql-excepted-names=EXISTS ignore = F841,W504 diff --git a/nitpick/flake8.toml b/nitpick/flake8.toml index 3d212a2..e31d1e5 100644 --- a/nitpick/flake8.toml +++ b/nitpick/flake8.toml @@ -1,5 +1,5 @@ ["setup.cfg".flake8] ignore = "F841,W504" -per-file-ignores = "tests/**.py: S101, D103, ANN201" +per-file-ignores = "tests/**.py: S101, S106, D103, ANN201, WPS442" spellcheck-targets = "comments" sql-excepted-names = "EXISTS"