forked from pytorch/ignite
-
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.
black formatted codebase with pre-commit files (pytorch#792)
* Added configuration files * Added additional flake8 ignores caused by black * Updated pre-commit yaml * Black formatted files * Updated .travis.yml and CONTRIBUTING.md * Updated CONTRIBUTING.md with links Co-authored-by: vfdev <[email protected]>
- Loading branch information
1 parent
57df912
commit 6040d45
Showing
164 changed files
with
4,972 additions
and
4,112 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
repos: | ||
- repo: https://github.com/python/black | ||
rev: 19.10b0 | ||
hooks: | ||
- id: black | ||
language_version: python3.7 | ||
|
||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.7.7 | ||
hooks: | ||
- id: flake8 | ||
args: [--append-config=tox.ini] |
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.