Skip to content

Commit

Permalink
Use a different lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonZacharie committed May 11, 2024
1 parent 1d6f13f commit cc2fcb7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,18 @@ permissions:

jobs:
lint:
name: Black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "--check --verbose"
src: "./"
use_pyproject: true
- uses: actions/checkout@v3
- uses: psf/black@stable
with:
options: "--check --verbose"
src: "."
use_pyproject: true

test:
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -44,7 +46,7 @@ jobs:
with:
parallel: true
flag-name: Unit Test

report:
needs: test
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ignore_missing_imports = true

[tool.black]
target-version = ["py311"]
required-version = 24

[tool.isort]
profile = "black"
Expand Down

0 comments on commit cc2fcb7

Please sign in to comment.