From 97ea96fe178b0e50e9fbfd3bd59f144c400753bc Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 18 Jun 2026 15:27:01 +0200 Subject: workflows/ci: add Python linting --- .github/workflows/ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55283e1..2009740 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v6 - with: - submodules: recursive - name: Set up clang-format uses: egor-tensin/setup-clang@v2 with: @@ -23,6 +21,16 @@ jobs: uses: egor-tensin/clang-format@v1 with: version: 22 + - name: Set up Python + uses: actions/setup-python@v6 + with: + python-version: '3.x' + - 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 build: strategy: -- cgit v1.3