Skip to content

Commit

Permalink
chore: migrate the pre-commit config to 4.x style
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise committed Oct 30, 2024
1 parent 419507e commit b2bd476
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ repos:
entry: isort
language: system
types: [python]
stages: [commit]
stages: [pre-commit]
- id: black
name: black
entry: black
language: system
types: [python]
stages: [commit]
stages: [pre-commit]
- id: mypy
name: mypy
entry: mypy
language: system
types: [python]
stages: [commit]
stages: [pre-commit]
- repo: https://github.com/pycqa/flake8
# do flake8 last to avoid duplicate reports
rev: 7.0.0
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ dev = [
"isort>=5.10.1",
"mypy>=1; python_version < '3.8'",
"mypy>=1.8.0; python_version >= '3.8'",
"pre-commit>=2.6.0",
"pre-commit>=3.2.0",
]
# This one is a bit special and cannot depend on other features,
# because if it depends on `g2p[api]` then we end up with
Expand Down

0 comments on commit b2bd476

Please sign in to comment.