Skip to content

Automatic code quality checks for Python? #26

@bittner

Description

@bittner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions