-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #220 from divio/feature/PD-399_py3-black-2
black formatting, python3, make lint
- Loading branch information
Showing
21 changed files
with
1,317 additions
and
1,171 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# can also be used as `make ARGS=--check black` for example | ||
black: | ||
find divio_cli -name '*.py' | xargs black --line-length=79 --safe $(ARGS) | ||
|
||
isort: | ||
isort -rc divio_cli | ||
|
||
autoflake: | ||
find divio_cli -name '*.py' | xargs autoflake --in-place --remove-unused-variables | ||
|
||
# isort must come first as black reformats the imports again | ||
lint: autoflake isort 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '3.3.7' | ||
__version__ = "3.3.7" |
Oops, something went wrong.