Skip to content

Commit

Permalink
fix: pin ruff-api version and add it to checker
Browse files Browse the repository at this point in the history
  • Loading branch information
CompRhys committed Nov 19, 2024
1 parent 838f962 commit fe8a1d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
additional_dependencies:
- black==24.4.2
- usort==1.0.8.post1
- ruff-api
- ruff-api==0.1.0
args: [format]

- repo: https://github.com/pycqa/flake8
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def main():
config_versions = parse_precommit_config(config_file)

# Packages to check
packages = ["ufmt", "black", "usort"]
packages = ["ufmt", "black", "usort", "ruff-api"]

# Check versions
mismatches = []
Expand Down

0 comments on commit fe8a1d0

Please sign in to comment.