File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 3535 - id : rst-inline-touching-normal
3636
3737- repo : https://github.com/astral-sh/ruff-pre-commit
38- rev : " v0.8.1 "
38+ rev : " v0.12.0 "
3939 hooks :
40- - id : ruff
40+ - id : ruff-check
4141 args : ["--fix", "--show-fixes"]
4242
4343- repo : https://github.com/psf/black-pre-commit-mirror
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ addopts = [
172172 " --doctest-modules" ,
173173 " --doctest-glob='*.rst'" ,
174174]
175- log_cli_level = " info "
175+ log_cli_level = " INFO "
176176testpaths = " tests"
177177markers = [
178178 " fail_jax" ,
@@ -262,26 +262,20 @@ module = [
262262ignore_errors = true
263263
264264[tool .ruff ]
265- src = [" src" ]
266265line-length = 88
267266
268267[tool .ruff .lint ]
269- select = [
270- " E" , " F" , " W" , # flake8
268+ extend-select = [
271269 " UP" , # pyupgrade
272270 " RUF" , # Ruff-specific
273271 " TID" , # flake8-tidy-imports
274272]
275273ignore = [
276274 " E402" ,
277- " E501" ,
278275 " RUF001" , # String contains ambiguous unicode character
279276 " RUF005" , # unpack-instead-of-concatenating-to-collection-literal
280277]
281278typing-modules = [" pyhf.typing" ]
282- unfixable = [
283- " F841" , # Removes unused variables
284- ]
285279flake8-tidy-imports.ban-relative-imports = " all"
286280
287281[tool .ruff .lint .per-file-ignores ]
You can’t perform that action at this time.
0 commit comments