File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 55
66repos :
77 - repo : https://github.com/pre-commit/pre-commit-hooks
8- rev : v5 .0.0
8+ rev : v6 .0.0
99 hooks :
1010 - id : check-added-large-files
1111 - id : check-case-conflict
1919 - id : trailing-whitespace
2020
2121 - repo : https://github.com/mgedmin/check-manifest
22- rev : " 0.50 "
22+ rev : " 0.51 "
2323 hooks :
2424 - id : check-manifest
2525 stages : [manual]
@@ -35,13 +35,13 @@ repos:
3535 - id : rst-directive-colons
3636
3737 - repo : https://github.com/asottile/pyupgrade
38- rev : v3.19.1
38+ rev : v3.21.0
3939 hooks :
4040 - id : pyupgrade
4141 args : [--py310-plus]
4242
4343 - repo : https://github.com/asottile/setup-cfg-fmt
44- rev : v2.8 .0
44+ rev : v3.1 .0
4545 hooks :
4646 - id : setup-cfg-fmt
4747 args : [--max-py-version=3.13, --include-version-classifiers]
8080 # - id: oxipng
8181
8282 - repo : https://github.com/python-jsonschema/check-jsonschema
83- rev : 0.33.0
83+ rev : 0.34.1
8484 hooks :
8585 - id : check-github-workflows
8686 - id : check-github-actions
9393 - id : rm-unneeded-f-str
9494
9595 - repo : https://github.com/astral-sh/ruff-pre-commit
96- rev : " v0.11.10 "
96+ rev : " v0.14.0 "
9797 hooks :
9898 - id : ruff
9999 types_or : [python, pyi, jupyter]
@@ -103,7 +103,7 @@ repos:
103103 types_or : [python, pyi, jupyter]
104104
105105 - repo : https://github.com/pre-commit/mirrors-mypy
106- rev : " v1.17.1 "
106+ rev : " v1.18.2 "
107107 hooks :
108108 - id : mypy
109109 files : src
Original file line number Diff line number Diff line change 22
33from __future__ import annotations
44
5+ import importlib .resources
56from typing import Any
67
78import lark
1415
1516
1617def _get_parser (parser_type : str ) -> lark .lark .Lark :
17- import importlib .resources
18-
1918 grammar = (
2019 importlib .resources .files (__package__ )
2120 / "resources"
You can’t perform that action at this time.
0 commit comments