-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python: update deps and switch to ruff. (#1332)
Ruff is better, and we already use it everywhere. Updating the deps to more recent ones that fix a few bugs.
- Loading branch information
Showing
9 changed files
with
443 additions
and
202 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 |
---|---|---|
@@ -1,9 +1,4 @@ | ||
autoflake | ||
black | ||
isort | ||
flake8 | ||
flake8-print | ||
pep8-naming | ||
ruff | ||
mypy>=1.4.0 | ||
pip-tools>=6.13.0 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
#!/bin/sh -e | ||
set -x | ||
|
||
autoflake --remove-all-unused-imports --recursive --remove-unused-variables --in-place svix --exclude=__init__.py | ||
isort svix | ||
black svix | ||
ruff check --fix svix | ||
ruff format svix |
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 |
---|---|---|
|
@@ -3,6 +3,5 @@ | |
set -ex | ||
|
||
mypy svix | ||
isort --check-only svix | ||
black svix --check | ||
flake8 svix | ||
ruff check svix | ||
ruff format --check svix |
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.