Skip to content

Commit

Permalink
apply black with py2.7 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
mgaitan committed Mar 17, 2020
1 parent cea0a17 commit 4811130
Show file tree
Hide file tree
Showing 109 changed files with 3,408 additions and 2,590 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ Delete them if they are not appropriate for this pull request.
- [ ] I have properly documented new or changed features in the documention or in the docstrings
- [ ] I have properly documented unusual changes to the code in the comments around it
- [ ] I have made note of any breaking/backwards incompatible changes
- [ ] I formatted my code using `black -t py36`
- [ ] I formatted my code using `black`
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
- name: Black Code Formatter
uses: lgeiger/[email protected]
with:
args: "--check --target-version py36 $GITHUB_WORKSPACE"
args: "--check --target-version py27 $GITHUB_WORKSPACE"
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- If you introduce a new functionality or fix a subtle bug, document it in the docstring/code.
- Moviepy's team adopted [black](https://github.com/psf/black) to autoformat the code. This is enforced for any pull request.

> Tip: use `black -t py36 .` to autoformat your code, or set black as a plugin of your editor.
> Tip: use `black -t py27 .` to autoformat your code, or set black as a plugin of your editor.

## Using Github
Expand Down
Loading

0 comments on commit 4811130

Please sign in to comment.