Skip to content

Commit

Permalink
upgrade ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Mildophin committed Oct 14, 2024
1 parent 5982038 commit 4a1e5ce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -10,14 +10,14 @@ repos:
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.4.7
rev: v0.6.9
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.3
rev: v8.20.1
hooks:
- id: gitleaks

Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ order-by-type = false

known-third-party = []

[tool.ruff.lint.flake8-pytest-style]
fixture-parentheses = false
mark-parentheses = false

[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
],
extras_require={
"dev": {
"ruff==0.4.7",
"ruff==0.6.9",
"mypy==1.10.0",
"pytest==8.1.1",
"pytest-cov==5.0.0",
Expand Down

0 comments on commit 4a1e5ce

Please sign in to comment.