Skip to content

Commit

Permalink
Merge pull request #219 from scop/renovate/ruff
Browse files Browse the repository at this point in the history
chore(pre-commit): update ruff to v0.4.4
  • Loading branch information
scop authored May 14, 2024
2 parents b8721ab + 8b9f596 commit 57cf371
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ default_stages: [commit]

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.14
rev: v0.4.4
hooks:
- id: ruff
- id: ruff-format
Expand Down
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ Homepage = "https://github.com/scop/pytekukko"
Changelog = "https://github.com/scop/pytekukko/blob/main/CHANGELOG.md"

[tool.ruff]
fix = true
src = ["src", "tests"]

[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN", # Maybe sometime
Expand All @@ -59,11 +63,9 @@ ignore = [
"ISC001",
"ISC002",
]
fix = true
unfixable = ["T20"]
src = ["src", "tests"]

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["S101"]

[tool.mypy]
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

mypy==1.8.0
nox
ruff==0.1.14
ruff==0.4.4

0 comments on commit 57cf371

Please sign in to comment.