Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
* Included "flake8" on the project.
Browse files Browse the repository at this point in the history
* Created configuration file.
* Included "flake8" validation on Travis deployments.
#41
  • Loading branch information
garciparedes committed Aug 31, 2019
1 parent 059b7ec commit a9bdfcb
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ install:
- 'pip install pipenv'
- 'pipenv sync'
script:
- 'pipenv run flake8'
- 'pipenv run coverage run --source=jinete --module unittest discover tests'
after_success:
- 'pipenv run codecov'
Expand Down
35 changes: 35 additions & 0 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[flake8]
max-line-length = 120
filename =
examples/*/*.py
jinete/**/*.py
tests/**/*.py
per-file-ignores =
./**/__init__.py:F401
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
'coverage',
'codecov',
],
'syntax': [
'flake8',
],
'logs': [
'coloredlogs',
]
Expand Down

0 comments on commit a9bdfcb

Please sign in to comment.