-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: updating ruff and vscode settings * chore: fixing ruff erros
- Loading branch information
1 parent
cf0e65d
commit 7d586d7
Showing
12 changed files
with
87 additions
and
526 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,32 +1,35 @@ | ||
repos: | ||
- repo: local | ||
hooks: | ||
- id: black | ||
name: black | ||
description: "Black: The uncompromising Python code formatter" | ||
entry: poetry run black | ||
- id: ruff-format | ||
name: ruff-format | ||
description: "Run 'ruff format' for extremely fast Python formatting" | ||
entry: poetry run ruff format | ||
language: system | ||
minimum_pre_commit_version: 2.9.2 | ||
types: [python] | ||
args: [] | ||
require_serial: true | ||
types_or: [ python, pyi ] | ||
additional_dependencies: [] | ||
minimum_pre_commit_version: "2.9.2" | ||
files: "^(src|tests)/" | ||
- id: ruff | ||
name: ruff | ||
description: "Run 'ruff' for extremely fast Python linting" | ||
entry: poetry run ruff | ||
language: system | ||
'types': [python] | ||
"types": [python] | ||
args: [--fix] | ||
require_serial: false | ||
additional_dependencies: [] | ||
minimum_pre_commit_version: '0' | ||
files: '^(src|tests)/' | ||
minimum_pre_commit_version: "0" | ||
files: "^(src|tests)/" | ||
- id: mypy | ||
name: mypy | ||
description: '`mypy` will check Python types for correctness' | ||
description: "`mypy` will check Python types for correctness" | ||
entry: poetry run mypy | ||
language: system | ||
types_or: [ python, pyi ] | ||
types_or: [python, pyi] | ||
require_serial: true | ||
additional_dependencies: [ ] | ||
minimum_pre_commit_version: '2.9.2' | ||
files: '^(src|tests)/' | ||
additional_dependencies: [] | ||
minimum_pre_commit_version: "2.9.2" | ||
files: "^(src|tests)/" |
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
Large diffs are not rendered by default.
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
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
7d586d7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage Report