Skip to content

Commit

Permalink
Merge pull request #189 from neutrinoceros/update_ruff
Browse files Browse the repository at this point in the history
MNT: upgrade pre-commit hooks, simplify ruff config
  • Loading branch information
neutrinoceros authored Mar 14, 2023
2 parents fd452c7 + 185f19d commit d392aba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ repos:
- id: black

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.245
rev: v0.0.255
hooks:
- id: ruff
args: [--fix]

- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.6.0
rev: v2.7.0
hooks:
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ exclude = [
namespaces = false

[tool.ruff]
target-version = "py38" # https://github.com/charliermarsh/ruff/issues/2039
exclude = ["*__init__.py"]
ignore = ["E501"]
select = [
Expand Down

0 comments on commit d392aba

Please sign in to comment.