diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index d3ff4d5d..6cb41148 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -46,6 +46,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + python -m pip install setuptools make install-all - name: Validate code formatting diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a8a32d27..5da2cadb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -63,6 +63,7 @@ repos: rev: 4.0.1 hooks: - id: flake8 + additional_dependencies: [flake8-typing-imports==1.15.0] args: ["--max-line-length=88", "--extend-ignore=N803,N806,E501,Q000,W605"] name: Code checker (flake8) - repo: https://github.com/pycqa/isort