From 79885c64b8c089e408e0d88f638506724f5c2890 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Wed, 4 Sep 2024 21:38:21 -0400 Subject: [PATCH] test: Add --extend-ignore E203 (Black/Ruff format) --- tests/script.sh | 2 +- tests/test_requirements.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/script.sh b/tests/script.sh index 9be040f..24507b3 100644 --- a/tests/script.sh +++ b/tests/script.sh @@ -8,7 +8,7 @@ find . -type f \! -perm 644 \! -path '*/.git/*' \! -path '*/.ruff_cache/*' \! -p \! -path '*/script/*' \! -name '*.sh' \! -name '*-cli' \! -name 'manage.py' \ -o -type d \! -perm 755 \! -path '*/deploy/cache/*' | grep . && exit 1 -flake8 . --max-line-length 119 +flake8 . --max-line-length 119 --extend-ignore E203 isort . --check-only --line-width 119 --profile black diff --git a/tests/test_requirements.py b/tests/test_requirements.py index b0c7ecc..a6f2c02 100644 --- a/tests/test_requirements.py +++ b/tests/test_requirements.py @@ -303,8 +303,6 @@ def test_requirements(): def test_dev_requirements(): # Ignore development dependencies that are not typically imported. ignore = [ - # Dependency management. - 'pip-tools', # Interactive shells. 'ipython', # Code linters.