-
-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add automatic code format enforcer - black (#813)
* add automatic code format enforcer - black * convert % to format * fix double quotes in one line * some more % to format changes * use stable release of black * allow unicode in description
- Loading branch information
1 parent
236cfa6
commit 7a589ea
Showing
26 changed files
with
2,843 additions
and
1,967 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,13 +1,17 @@ | ||
repos: | ||
- repo: https://github.com/ambv/black | ||
rev: 18.4a4 | ||
hooks: | ||
- id: black | ||
args: [--line-length=99, --safe] | ||
python_version: python3.6 | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
sha: v1.1.1 | ||
rev: v1.2.3 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: flake8 | ||
- repo: https://github.com/asottile/pyupgrade | ||
sha: v1.2.0 | ||
rev: v1.2.0 | ||
hooks: | ||
- id: pyupgrade |
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,4 +1,5 @@ | ||
# FIXME this seems unnecessary | ||
# TODO move fixtures here and only keep helper functions/classes in the plugin | ||
# TODO _pytest_helpers might be a better name than _pytestplugin then? | ||
# noinspection PyUnresolvedReferences | ||
from tox._pytestplugin import * # noqa |
Oops, something went wrong.