-
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.
- Loading branch information
Showing
19 changed files
with
182 additions
and
444 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
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,57 +1,54 @@ | ||
repos: | ||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
language_version: python3.8 | ||
- | ||
repo: https://github.com/psf/black | ||
rev: 22.12.0 | ||
hooks: | ||
- id: black | ||
args: ['--safe'] | ||
language_version: python3.8 | ||
- | ||
repo: https://github.com/pycqa/flake8 | ||
rev: 6.0.0 | ||
hooks: | ||
- id: flake8 | ||
language_version: python3.8 | ||
args: [ | ||
# E501 let black handle all line length decisions | ||
# W503 black conflicts with "line break before operator" rule | ||
# E203 black conflicts with "whitespace before ':'" rule | ||
'--ignore=E501,W503,E203,C901'] | ||
- | ||
repo: https://github.com/chewse/pre-commit-mirrors-pydocstyle | ||
# 2.1.1 | ||
rev: v2.1.1 | ||
hooks: | ||
- id: pydocstyle | ||
language_version: python3.8 | ||
exclude: '.*(test|alembic|scripts).*' | ||
args: [ | ||
# Check for docstring presence only | ||
'--select=D1', | ||
|
||
] | ||
# Don't require docstrings for tests | ||
# '--match=(?!test).*\.py'] | ||
# - | ||
# repo: https://github.com/pre-commit/mirrors-mypy | ||
# rev: v0.770 | ||
# hooks: | ||
# - id: mypy | ||
# language_version: python3.8 | ||
# args: [--no-strict-optional, --ignore-missing-imports] | ||
- | ||
repo: https://github.com/PyCQA/pydocstyle | ||
rev: 6.3.0 | ||
hooks: | ||
- id: pydocstyle | ||
language_version: python3.8 | ||
exclude: '.*(test|alembic|scripts).*' | ||
#args: [ | ||
# Don't require docstrings for tests | ||
#'--match=(?!test|alembic|scripts).*\.py', | ||
#] | ||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
language_version: python3.8 | ||
- repo: https://github.com/psf/black | ||
rev: 22.12.0 | ||
hooks: | ||
- id: black | ||
args: ["--safe"] | ||
language_version: python3.8 | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: 6.0.0 | ||
hooks: | ||
- id: flake8 | ||
language_version: python3.8 | ||
args: [ | ||
# E501 let black handle all line length decisions | ||
# W503 black conflicts with "line break before operator" rule | ||
# E203 black conflicts with "whitespace before ':'" rule | ||
"--ignore=E501,W503,E203,C901", | ||
] | ||
- repo: https://github.com/chewse/pre-commit-mirrors-pydocstyle | ||
# 2.1.1 | ||
rev: v2.1.1 | ||
hooks: | ||
- id: pydocstyle | ||
language_version: python3.8 | ||
exclude: ".*(test|alembic|scripts).*" | ||
args: | ||
[ | ||
# Check for docstring presence only | ||
"--select=D1", | ||
] | ||
# Don't require docstrings for tests | ||
# '--match=(?!test).*\.py'] | ||
# - | ||
# repo: https://github.com/pre-commit/mirrors-mypy | ||
# rev: v0.770 | ||
# hooks: | ||
# - id: mypy | ||
# language_version: python3.8 | ||
# args: [--no-strict-optional, --ignore-missing-imports] | ||
- repo: https://github.com/PyCQA/pydocstyle | ||
rev: 6.3.0 | ||
hooks: | ||
- id: pydocstyle | ||
language_version: python3.8 | ||
exclude: ".*(test|alembic|scripts).*" | ||
#args: [ | ||
# Don't require docstrings for tests | ||
#'--match=(?!test|alembic|scripts).*\.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
Oops, something went wrong.