mirror of
https://github.com/graphql-python/graphene.git
synced 2025-04-25 12:03:41 +03:00
lint: use ruff pre commit hook
This commit is contained in:
parent
dc3b2e49c1
commit
e1d1d5197e
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
@ -16,8 +16,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install ruff tox
|
pip install ruff tox
|
||||||
- name: Format check using Ruff
|
|
||||||
run: ruff format --check
|
|
||||||
- name: Run lint
|
- name: Run lint
|
||||||
run: tox
|
run: tox
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -26,3 +26,4 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
|
args: [ --check ]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user