From 51f0d03aedcc93b208d567505f17d12106545a41 Mon Sep 17 00:00:00 2001 From: mattip Date: Tue, 8 Oct 2024 11:01:01 +0300 Subject: [PATCH] remove noisy inaccurate safety check from linting --- .github/workflows/lint_python.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index c7ae18c5..5fcc7bc3 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -10,7 +10,7 @@ jobs: python-version: '3.12' - run: pip install --upgrade pip wheel setuptools - run: pip install bandit black codespell flake8 flake8-2020 flake8-bugbear - flake8-comprehensions isort mypy pytest pyupgrade safety + flake8-comprehensions isort mypy pytest pyupgrade - run: bandit --recursive --skip B101 . # B101 is assert statements - run: black --check . || true - run: codespell --ignore-words-list="commend" # --skip="*.css,*.js,*.lock" @@ -22,4 +22,3 @@ jobs: - run: mypy --ignore-missing-imports --install-types --non-interactive . - run: pytest . || pytest --doctest-modules . || true - run: shopt -s globstar && pyupgrade --py36-plus **/*.py || true - - run: safety check