Skip to content

Commit

Permalink
fix(python): point 'ruff' at new repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ahal committed Oct 25, 2023
1 parent 3daf931 commit e2a6d32
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions reps/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ def merge_pre_commit(items):
],
},
{
"repo": "https://github.com/charliermarsh/ruff-pre-commit",
"rev": "v0.0.272",
"repo": "https://github.com/astral-sh/ruff-pre-commit",
"rev": "v0.1.1",
"hooks": [{"id": "ruff", "args": ["--fix", "--exit-non-zero-on-fix"]}],
},
]
Expand All @@ -89,8 +89,8 @@ def merge_pre_commit(items):

@hook("post-gen-py")
def add_poetry_dependencies(items):
# Build constraints to ensure we don't try to add versions that are
# incompatible with the minimum Python.
# Build constraints to ensure we don't try to add versions
# that are incompatible with the minimum Python.
min_python = items["min_python_version"]
constraints = defaultdict(dict)
constraints["coverage"] = {"3.7": "coverage@<7.3.0"}
Expand Down

0 comments on commit e2a6d32

Please sign in to comment.