Skip to content

Commit

Permalink
Merge pull request #19 from viperior/feature/enforce-flake8-rules
Browse files Browse the repository at this point in the history
Enforce Flake8 Rules
  • Loading branch information
viperior authored Feb 25, 2022
2 parents f176e21 + 5164723 commit 460c8b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
flake8 . --count --max-complexity=10 --max-line-length=100 --statistics
- name: Test with pytest (quick)
run: |
pytest -v -x -n auto
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## [0.6.0](https://github.com/viperior/python-project-template/tree/v0.6.0) (2022-02-25)

### Improvements

* Enforce Flake8 Rules (closes [#11][i11])
* Modify max code line length to 100 characters in `flake8` command

[i11]: https://github.com/viperior/python-project-template/issues/11

## [0.5.0](https://github.com/viperior/python-project-template/tree/v0.5.0) (2022-02-25)

### Improvements
Expand Down

0 comments on commit 460c8b3

Please sign in to comment.