diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 805523c..99e6a59 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -1,6 +1,6 @@ -name: Pylint +name: Black-linting -on: [push, pull_request] +on: [pull_request] jobs: build: @@ -19,4 +19,4 @@ jobs: pip install black pygame pygame_gui hjson - name: Format the code with black run: | - python -m black --diff . + python -m black --check .