-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ruff safe fixes * Ruff unsafe fixes * Manual fixes * Update workflow * Reexport from base * Fix boolean comparison * Simplify boolean expr * Simplify subset bool expr
- Loading branch information
Showing
22 changed files
with
616 additions
and
442 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,12 +1,25 @@ | ||
repos: | ||
- repo: https://github.com/psf/black | ||
rev: 23.3.0 | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.5.7 | ||
hooks: | ||
- id: black | ||
types: [file, python] | ||
language_version: python3.10 | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
# Run the linter. | ||
- id: ruff | ||
args: [ --fix ] | ||
# Run the formatter. | ||
- id: ruff-format | ||
types_or: [ python, jupyter ] | ||
# # Mypy: Optional static type checking | ||
# # https://github.com/pre-commit/mirrors-mypy | ||
# - repo: https://github.com/pre-commit/mirrors-mypy | ||
# rev: v1.11.1 | ||
# hooks: | ||
# - id: mypy | ||
# exclude: ^(docs|tests)\/ | ||
# language_version: python3.9 | ||
# args: [--namespace-packages, --explicit-package-bases, --ignore-missing-imports, --non-interactive, --install-types] | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: isort | ||
name: isort (python) | ||
- id: trailing-whitespace | ||
- id: debug-statements | ||
- id: end-of-file-fixer |
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.