-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from poetry to vanilla setup.cfg + tox
- Loading branch information
Showing
10 changed files
with
169 additions
and
1,517 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
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,14 @@ | ||
#!/bin/bash | ||
|
||
set -o pipefail | ||
|
||
if [ "$1" = "--check" ]; then | ||
ruff format --check --diff | ||
format_ret=$? | ||
|
||
ruff check --diff | ||
exit $([ $? -eq 0 ] && [ $format_ret -eq 0 ]) | ||
else | ||
ruff format | ||
ruff check --fix | ||
fi |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.