forked from RedHatQE/pylero
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update using black for formatting python code, automatically apply change in the pre-commit hook. More info about black: https://black.readthedocs.io/en/stable/ Signed-off-by: Wayne Sun <gsun@redhat.com>
- Loading branch information
1 parent
adaf63a
commit 87fb12a
Showing
77 changed files
with
2,842 additions
and
2,525 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,22 +1,18 @@ | ||
# configuration for pre-commit git hooks | ||
files: ^(src/pylero) | ||
exclude: '^docs' | ||
repos: | ||
- repo: https://github.com/asottile/reorder_python_imports | ||
rev: v2.6.0 | ||
rev: v3.8.2 | ||
hooks: | ||
- id: reorder-python-imports | ||
language_version: python3 | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.0.1 | ||
rev: v4.3.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
language_version: python3 | ||
- id: end-of-file-fixer | ||
language_version: python3 | ||
- id: debug-statements | ||
language_version: python3 | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: 3.9.2 | ||
- id: detect-private-key | ||
- repo: https://github.com/psf/black | ||
rev: 22.6.0 | ||
hooks: | ||
- id: flake8 | ||
language_version: python3 | ||
- id: black |
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.