Skip to content

Commit

Permalink
Upgrade Ruff linter to 0.3.x series
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmayer committed Apr 2, 2024
1 parent 2d94110 commit 8fd5530
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.9
rev: v0.3.5
hooks:
- id: ruff
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ markdown = ["markdown>=3.4"]
[tool.pdm.dev-dependencies]
lint = [
"invoke>=2.2.0",
"ruff>=0.1.3",
"ruff>=0.3.5,<0.4.0"
]
test = [
"markdown>=3.4",
Expand All @@ -56,7 +56,7 @@ git-username = "botpub"
git-email = "52496925+botpub@users.noreply.github.com"
append-github-contributor = true

[tool.ruff]
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"BLE", # flake8-blind-except
Expand Down Expand Up @@ -91,7 +91,7 @@ ignore = [
"RUF100", # unused blanket `NOQA` directive
]

[tool.ruff.isort]
[tool.ruff.lint.isort]
combine-as-imports = true
force-sort-within-sections = true
known-first-party = ["pelican"]
Expand Down

0 comments on commit 8fd5530

Please sign in to comment.