diff --git a/.github/workflows/squad-client-utils-pipeline.yml b/.github/workflows/squad-client-utils-pipeline.yml index 7151c08..26e240a 100644 --- a/.github/workflows/squad-client-utils-pipeline.yml +++ b/.github/workflows/squad-client-utils-pipeline.yml @@ -19,12 +19,9 @@ jobs: - name: Install deps run: | python -m pip install --upgrade pip - pip install black flake8 + pip install pre-commit + pre-commit install - name: Linting run: | - black --check --diff . - - - name: flake8 - run: | - flake8 --exclude=dist/ --ignore=E501,W503 . squad-* + pre-commit run --all-files --show-diff-on-failure