diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index 2340b22ae6..5f2dd61223 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -4,6 +4,9 @@ on: paths-ignore: - .gitlab-ci.yml pull_request: + repository_dispatch: + types: [backend_automation] + workflow_dispatch: jobs: lint_python: runs-on: ubuntu-latest @@ -13,6 +16,8 @@ jobs: - run: pip install --upgrade pip wheel - run: pip install bandit black codespell flake8 flake8-2020 flake8-bugbear flake8-comprehensions isort mypy pytest pyupgrade safety + - run: python -m pip install --upgrade --no-cache-dir urllib3>=1.26.5 + - run: python -m pip install --upgrade --no-cache-dir twisted>=19.2.0 - run: bandit --recursive --skip B101,B110,B306,B307,B311,B605,B607 . - run: black --check . || true - run: codespell --count