Skip to content

Commit

Permalink
fix ruff config
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthieuDartiailh committed Nov 27, 2023
1 parent a816bb3 commit 4eea89e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
repos:
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.5
rev: v0.1.6
hooks:
# Run the linter.
- id: ruff
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ __version__ = "{version}"
[tool.ruff]
src = ["src"]
select = ["C", "E", "F", "W", "I", "C90", "RUF"]
extend-exclude = ["tests/instruments/hardware/nifpga/scope_based"]
extend-ignore = ["E501", "RUF012"]
line-length = 88

Expand Down

0 comments on commit 4eea89e

Please sign in to comment.