-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retain the formatting style of black while eliminating a dev dependency by using our existing rust-based ruff linter. See also: https://docs.astral.sh/ruff/formatter/
- Loading branch information
Showing
10 changed files
with
69 additions
and
120 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"[markdown][python]": { | ||
"coc.preferences.formatOnSave": true | ||
}, | ||
"python.analysis.autoSearchPaths": true, | ||
"python.analysis.typeCheckingMode": "basic", | ||
"python.analysis.useLibraryCodeForTypes": true, | ||
"python.formatting.provider": "ruff", | ||
"python.linting.ruffEnabled": true, | ||
"python.linting.mypyEnabled": true, | ||
"python.linting.flake8Enabled": false, | ||
"python.linting.pyflakesEnabled": false, | ||
"python.linting.pycodestyleEnabled": false, | ||
"python.linting.banditEnabled": false, | ||
"python.linting.pylamaEnabled": false, | ||
"python.linting.pylintEnabled": false, | ||
"pyright.organizeimports.provider": "ruff", | ||
"pyright.testing.provider": "pytest", | ||
} |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,4 +1,5 @@ | ||
"""Helpers for cross compatibility across dependency versions.""" | ||
|
||
import typing as t | ||
|
||
if t.TYPE_CHECKING: | ||
|
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