forked from ethereum/staking-deposit-cli
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace flake8 with ruff for linting (#259)
* Replace flake8 with ruff for linting * Replace flake8 with ruff in Makefile * Replace flake8 in tox * Update pre-commit to use ruff instead of flake8. Update uv.lock and pyproject.toml * Fix linting error and pre-commit stuff * Update pre-commit documentation and dependencies
- Loading branch information
Showing
13 changed files
with
237 additions
and
98 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,25 +1,23 @@ | ||
repos: | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: '7.1.1' | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.9.2 | ||
hooks: | ||
- id: flake8 | ||
files: ^(ethstaker_deposit|tests)/ | ||
args: [--config, flake8.ini] | ||
- id: ruff | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: 'v1.11.2' | ||
rev: v1.14.1 | ||
hooks: | ||
- id: mypy | ||
additional_dependencies: | ||
- click==8.1.7 | ||
- eth-typing==5.0.0 | ||
- eth-utils==5.0.0 | ||
- pycryptodome==3.20.0 | ||
- click==8.1.8 | ||
- eth-typing==5.1.0 | ||
- eth-utils==5.1.0 | ||
- pycryptodome==3.21.0 | ||
- py-ecc==7.0.1 | ||
- ssz==0.5.0 | ||
- ssz==0.5.1 | ||
files: ^ethstaker_deposit/ | ||
args: [--config-file, mypy.ini] | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: 'v4.6.0' | ||
rev: v5.0.0 | ||
hooks: | ||
- id: check-json | ||
files: ^ethstaker_deposit/intl |
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 was deleted.
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
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
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.