Skip to content

Commit

Permalink
merge #80 into openSUSE/libpathrs:main
Browse files Browse the repository at this point in the history
Aleksa Sarai (3):
  gha: enforce python black formatting
  python bindings: reformat with black
  python bindings: minor pre-black fixups

LGTMs: cyphar
  • Loading branch information
cyphar committed Oct 8, 2024
2 parents f400e06 + 91c1d4f commit a65e50a
Show file tree
Hide file tree
Showing 4 changed files with 744 additions and 692 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/bindings-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ on:
name: bindings-python

jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "--check --verbose"
src: "./contrib/bindings/python"
version: "~= 24.0"

# TODO: Do some kind of lints?

mypy:
Expand Down Expand Up @@ -97,6 +107,7 @@ jobs:

complete:
needs:
- black
- mypy
- smoke-test
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit a65e50a

Please sign in to comment.