mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-21 17:16:43 +03:00
lint: use ruff pre commit hook (#1566)
* lint: use ruff pre commit hook * dont install ruff --------- Co-authored-by: Erik Wrede <erikwrede@users.noreply.github.com>
This commit is contained in:
parent
5b3ed2c2ba
commit
431826814d
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
|
@ -15,9 +15,7 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install ruff tox
|
pip install 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