diff options
| author | Egor Tensin <egor@tensin.name> | 2026-05-23 06:03:28 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-05-23 06:05:26 +0200 |
| commit | e45bf582ad75272f3d350c5d3cd434d164a4785a (patch) | |
| tree | d5078dd465d071e92043c131f86812b8fd75c2cb | |
| parent | workflows/ci: remove on: pull_request (diff) | |
| download | linux-status-e45bf582ad75272f3d350c5d3cd434d164a4785a.tar.gz linux-status-e45bf582ad75272f3d350c5d3cd434d164a4785a.zip | |
workflows/ci: run the Black linter
| -rw-r--r-- | .github/workflows/ci.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index daa78bc..ccf383f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,12 @@ jobs: uses: actions/setup-python@v6 with: python-version: '${{ matrix.python-version }}' + - name: Run black + uses: psf/black@stable + with: + # > Please note that the --check flag is required so that the + # > workflow fails if Black finds files that need to be formatted. + options: --check --verbose --skip-string-normalization - name: Run tests as root run: sudo ./test/test.sh - name: Run tests |
