Skip to content

Commit

Permalink
update ruff config
Browse files Browse the repository at this point in the history
  • Loading branch information
imperosol committed Jul 9, 2024
1 parent 9f1eedb commit 35c2f71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.4.10
rev: v0.5.1
hooks:
- id: ruff # just check the code, and print the errors
- id: ruff # actually fix the fixable errors, but print nothing
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ optional = true
[tool.xapian]
version = "1.4.25"

[tool.ruff]
output-format = "concise"

[tool.ruff.lint]
select = [
"A", # shadowing of Python builtins
Expand Down

0 comments on commit 35c2f71

Please sign in to comment.