-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change sematnics of extend properties
- Loading branch information
1 parent
549ea2f
commit 4893997
Showing
5 changed files
with
170 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
[tool.ruff] | ||
extend = "../../pyproject.toml" | ||
src = ["."] | ||
extend-select = ["I001"] | ||
# Enable I001, and re-enable F841, to test extension priority. | ||
extend-select = ["I001", "F841"] | ||
extend-ignore = ["F401"] | ||
extend-exclude = ["./docs/concepts/file.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
src = [".", "python_modules/*"] | ||
exclude = ["examples/excluded"] | ||
extend-select = ["I001"] | ||
extend-ignore = ["F841"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.