-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Boris
committed
Apr 24, 2024
1 parent
bafa704
commit 215005f
Showing
22 changed files
with
461 additions
and
120 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,28 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.2.0 | ||
rev: v4.5.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
files: '\.py$' | ||
- id: end-of-file-fixer | ||
files: '\.py$' | ||
- id: check-yaml | ||
# Keep this unchanged for YAML files | ||
- id: check-added-large-files | ||
files: '\.py$' | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 23.7.0 | ||
rev: 24.3.0 | ||
hooks: | ||
- id: black | ||
language_version: python3.12 | ||
files: '\.py$' | ||
|
||
- repo: https://github.com/pycqa/flake8 | ||
rev: 6.1.0 | ||
rev: 7.0.0 | ||
hooks: | ||
- id: flake8 | ||
args: [ --config, pyproject.toml ] | ||
args: | ||
- --config=server/pyproject.toml | ||
- --ignore=E203 # Ignore E203 directly in the pre-commit configuration | ||
files: '\.py$' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
[tool.black] | ||
line_length = 180 | ||
line_length = 120 | ||
multi_line_output = 3 | ||
extend-exclude = '''Pipfile.lock''' | ||
|
||
|
||
[flake8] | ||
max-line-length = 180 | ||
max-line-length = 120 | ||
exclude = '''Pipfile.lock''' |
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.