Skip to content

Commit

Permalink
chore: resolve ruff config deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
boidolr committed Feb 3, 2024
1 parent c4f4979 commit 83e3694
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
changelog:
exclude:
labels: [github-actions]
labels: [github-actions, pre-commit]
categories:
- title: Changes
labels: ["*"]
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ packages = ["pre_commit_text"]
[tool.ruff]
line-length = 120
fix = true
select = [
lint.select = [
# Pyflakes
"F",
# Pycodestyle
Expand Down Expand Up @@ -84,13 +84,13 @@ select = [
"RUF100"
]

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

[tool.ruff.flake8-annotations]
[tool.ruff.lint.flake8-annotations]
ignore-fully-untyped = true

[tool.ruff.isort]
[tool.ruff.lint.isort]
force-single-line = true
order-by-type = false

Expand Down

0 comments on commit 83e3694

Please sign in to comment.