diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 9267ce44..a9e2859a 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -10,19 +10,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v4 with: python-version: "3.10" cache: "pip" - - name: Install requirements run: | pip install -U pip pip install pylint pip install -U black - - - name: Log installed environment + - name: Run black run: | - python3 -m pip freeze - + python -m black . - uses: pre-commit/action@v3.0.0