From cc2fcb79a79ec69af35dbc11bab69a0adb5a5529 Mon Sep 17 00:00:00 2001 From: Brandon Zacharie Date: Sat, 11 May 2024 00:01:31 -0500 Subject: [PATCH] Use a different lint config --- .github/workflows/python-app.yml | 18 ++++++++++-------- pyproject.toml | 1 + 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index f8c611b..2e76249 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -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 @@ -44,7 +46,7 @@ jobs: with: parallel: true flag-name: Unit Test - + report: needs: test runs-on: ubuntu-latest diff --git a/pyproject.toml b/pyproject.toml index ea3f949..b1623c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,6 +7,7 @@ ignore_missing_imports = true [tool.black] target-version = ["py311"] +required-version = 24 [tool.isort] profile = "black"