Skip to content

Commit

Permalink
FIX: add select to lint option keys (#310)
Browse files Browse the repository at this point in the history
* MAINT: sort `lint_option_keys`
  • Loading branch information
redeboer authored Mar 7, 2024
1 parent feb379f commit 44e3c26
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/compwa_policy/check_dev_files/ruff.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,12 @@ def _move_ruff_lint_config() -> None:
lint_option_keys = {
"extend-select",
"ignore",
"task-tags",
"isort",
"pydocstyle",
"pep8-naming",
"per-file-ignores",
"pydocstyle",
"select",
"task-tags",
}
pyproject = load_pyproject()
global_settings = get_sub_table(pyproject, "tool.ruff", create=True)
Expand Down

0 comments on commit 44e3c26

Please sign in to comment.