precommit, setup py

This commit is contained in:
Dulmandakh 2024-06-23 22:25:18 +08:00
parent 6967ce258f
commit 7c474d65e5
2 changed files with 5 additions and 4 deletions

View File

@ -20,10 +20,11 @@ repos:
rev: v2.37.3 rev: v2.37.3
hooks: hooks:
- id: pyupgrade - id: pyupgrade
- repo: https://github.com/psf/black - repo: https://github.com/astral-sh/ruff-pre-commit
rev: 22.6.0 # Ruff version.
rev: v0.4.10
hooks: hooks:
- id: black - id: ruff-format
- repo: https://github.com/PyCQA/flake8 - repo: https://github.com/PyCQA/flake8
rev: 5.0.4 rev: 5.0.4
hooks: hooks:

View File

@ -54,7 +54,7 @@ tests_require = [
"coveralls>=3.3,<4", "coveralls>=3.3,<4",
] ]
dev_requires = ["black==22.3.0", "flake8>=4,<5"] + tests_require dev_requires = ["ruff==0.4.10", "flake8>=4,<5"] + tests_require
setup( setup(
name="graphene", name="graphene",