Skip to content

Commit dec2735

Browse files
authored
Update CONTRIBUTING.md
1 parent 9c6080a commit dec2735

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@ We want your work to be readable by others; therefore, we encourage you to note
7474
pip3 install flake8 # only required the first time
7575
flake8 . --ignore=E203,W503 --max-line-length=88 --show-source
7676
```
77+
- All submissions will also have to pass **pre-commit**, this ensures that your code is perfectly formatted and does not have any trailing whitespaces, has empty line at the file ending. You can try this anytime between the pull request or before the pull request locally (This fixes most of the automated tests).
78+
79+
```bash
80+
pip3 install pre-commit # only required the first time
81+
pre-commit install
82+
pre-commit run -a # This might show you that it failed but actually it didn't
83+
```
7784

7885
- Original code submission require docstrings or comments to describe your work.
7986

0 commit comments

Comments
 (0)