Skip to content

Commit

Permalink
chore: Update ruff config
Browse files Browse the repository at this point in the history
warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`:
  - 'select' -> 'lint.select'

https://github.com/astral-sh/ruff/releases/tag/v0.2.0
https://astral.sh/blog/ruff-v0.2.0#configuration-changes
  • Loading branch information
YDX-2147483647 committed Apr 7, 2024
1 parent acba3e6 commit 86fc5dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ build-backend = "setuptools.build_meta"

[tool.ruff]
line-length = 88

[tool.ruff.lint]
select = ["E", "F", "I", "N", "B", "SIM"]

[tool.ruff.format]
Expand Down

0 comments on commit 86fc5dc

Please sign in to comment.