Skip to content

Commit

Permalink
Update ruff config for new version
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLovering committed Dec 6, 2023
1 parent 04f4751 commit d27b2c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:

# Run `ruff` using github formatting to enable automatic inline annotations.
- name: Run ruff
run: "ruff check --format=github ."
run: "ruff check --output-format=github ."
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,20 @@ olli = "python -m olli"
[tool.ruff]
target-version = "py311"
extend-exclude = [".cache"]
select = ["ALL"]
ignore = [
"ANN002", "ANN003", "ANN101", "ANN102", "ANN401",
"ARG003",
"C901",
"CPY001",
"D100", "D104", "D105", "D107", "D203", "D212", "D214", "D215", "D416",
"EM101",
"PLR",
"TRY003",
]
line-length = 120
select = ["ALL"]
unsafe-fixes = true
preview = true

[tool.ruff.isort]
order-by-type = false
Expand Down

0 comments on commit d27b2c8

Please sign in to comment.