mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 14:35:45 +00:00
fixed black version mismatch
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
d85ad2066e
commit
b367d1cc5d
17
.github/workflows/CI.yml
vendored
17
.github/workflows/CI.yml
vendored
@ -20,15 +20,6 @@ permissions:
|
|||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: psf/black@stable
|
|
||||||
with:
|
|
||||||
options: "--check -l 119"
|
|
||||||
src: "."
|
|
||||||
|
|
||||||
audit:
|
audit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@ -53,8 +44,14 @@ jobs:
|
|||||||
- name: Audit dependencies
|
- name: Audit dependencies
|
||||||
run: pip-audit --ignore-vuln PYSEC-2022-42969 --ignore-vuln PYSEC-2022-203 --ignore-vuln GHSA-r9hx-vwmv-q579
|
run: pip-audit --ignore-vuln PYSEC-2022-42969 --ignore-vuln PYSEC-2022-203 --ignore-vuln GHSA-r9hx-vwmv-q579
|
||||||
|
|
||||||
|
- name: Install black
|
||||||
|
run: pip install black
|
||||||
|
|
||||||
|
- name: Lint - black
|
||||||
|
run: black --check -l 119 .
|
||||||
|
|
||||||
test:
|
test:
|
||||||
needs: lint
|
needs: audit
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
PLANETMINT_DATABASE_BACKEND: tarantool_db
|
PLANETMINT_DATABASE_BACKEND: tarantool_db
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user