Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic code quality checks for Python? #26

Open
bittner opened this issue Feb 15, 2018 · 0 comments
Open

Automatic code quality checks for Python? #26

bittner opened this issue Feb 15, 2018 · 0 comments

Comments

@bittner
Copy link

bittner commented Feb 15, 2018

Should we add checks on code quality that are automatically run each time changes are applied?

For Python, this would merely be running the tools Flake8 and Pylint in a Travis-CI configuration file, e.g.

# FILE: .travis.yml
language: python
python:
  - 3.6
before_script:
  - pip install flake8 pylint
script:
  - flake8 */python
  - pylint */python/*.py

This could (later) be extended to other languages. I would then suggest to use Travis' build stages feature to beautifully organize - visually separate, really - the linter results for the separate languages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant