Skip to content

Commit

Permalink
Add a black format check
Browse files Browse the repository at this point in the history
  • Loading branch information
hugary1995 committed Mar 8, 2024
1 parent 98968c7 commit 2c9283d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:

jobs:
clang-format:
name: Formatting Check
name: C++ Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -35,6 +35,15 @@ jobs:
with:
clang-format-version: "17"
check-path: ${{ matrix.path }}
black:
name: Python Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "--check -v"
src: "python/neml2_wrap tests/python"
copyright:
name: Copyright check
runs-on: ubuntu-latest
Expand Down

0 comments on commit 2c9283d

Please sign in to comment.