diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index e302e5a..b1287d3 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -1,14 +1,19 @@ -name: Lint +name: black -on: [push, pull_request] +# Controls when the action will run. +on: + push: + branches: [main, develop] + pull_request: + branches: [main, develop] + + workflow_dispatch: jobs: - lint: + black: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v2 - uses: psf/black@stable with: - options: "--check --verbose" - src: "./src" - use_pyproject: true + options: ". --check --verbose" \ No newline at end of file