diff --git a/.github/workflows/black.yaml b/.github/workflows/black.yaml new file mode 100644 index 0000000..637820a --- /dev/null +++ b/.github/workflows/black.yaml @@ -0,0 +1,13 @@ +name: Lint + +on: [push, pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: psf/black@stable + with: + version: "23.12.1" + args: ". --check --extend-exclude '.*_version\.py$'" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3bffb8d..92eb28f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - black files: ^(.+)(?