CONTRIBUTING.md: Update flake8 command (#2124)

* CONTRIBUTING.md: Update flake8 command

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
Christian Clauss
2020-06-16 16:33:17 +02:00
committed by GitHub
parent 4a2d457747
commit 4e8a0d924e
2 changed files with 3 additions and 2 deletions

View File

@@ -68,11 +68,11 @@ We want your work to be readable by others; therefore, we encourage you to note
black .
```
- All submissions will need to pass the test __flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics__ before they will be accepted so if possible, try this test locally on your Python file(s) before submitting your pull request.
- All submissions will need to pass the test __flake8 . --ignore=E203,W503 --max-line-length=88__ before they will be accepted so if possible, try this test locally on your Python file(s) before submitting your pull request.
```bash
pip3 install flake8 # only required the first time
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --ignore=E203,W503 --max-line-length=88 --show-source
```
- Original code submission require docstrings or comments to describe your work.