Skip to content

Commit

Permalink
black templates
Browse files Browse the repository at this point in the history
  • Loading branch information
mgaitan committed Mar 17, 2020
1 parent 0401737 commit a648dc9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +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`
6 changes: 5 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

## Keeping/Improving code quality

- Respect PEP8 standards!
- Respect PEP8 conventions!
- Just the right amount of comments. Try to write auto-documented code (with very explicit variable names).
- 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.

## Using Github

Expand Down

0 comments on commit a648dc9

Please sign in to comment.