File tree Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -33,22 +33,17 @@ repos:
3333 - id : requirements-txt-fixer
3434 - id : trailing-whitespace
3535
36- # Black, the code formatter, natively supports pre-commit
37- - repo : https://github.com/psf/black-pre-commit-mirror
38- rev : 23.9.1
39- hooks :
40- - id : black
41- exclude : ^(docs)
42-
4336- repo : https://github.com/astral-sh/ruff-pre-commit
44- rev : " v0.1.0 "
37+ rev : " v0.1.3 "
4538 hooks :
4639 - id : ruff
4740 args : ["--fix", "--show-fixes"]
41+ - id : ruff-format
42+ exclude : ^(docs)
4843
4944# Checking static types
5045- repo : https://github.com/pre-commit/mirrors-mypy
51- rev : " v1.6.0 "
46+ rev : " v1.6.1 "
5247 hooks :
5348 - id : mypy
5449 files : " setup.py"
Original file line number Diff line number Diff line change @@ -38,15 +38,13 @@ test-skip = ["*universal2:arm64"]
3838before-build = " rm -rf {project}/build"
3939
4040[tool .ruff ]
41+ target-version = " py37"
42+
43+ [tool .ruff .lint ]
4144extend-select = [
4245 " B" , # flake8-bugbear
43- " B904" ,
4446 " I" , # isort
4547 " PGH" , # pygrep-hooks
4648 " RUF" , # Ruff-specific
4749 " UP" , # pyupgrade
4850]
49- extend-ignore = [
50- " E501" , # Line too long
51- ]
52- target-version = " py37"
You can’t perform that action at this time.
0 commit comments