Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Continuous integration and PEP8 #146

@s-celles

Description

@s-celles

Hello,

You might use continuous integration for testing that merged code respect PEP8.

Here is a .travis.yml file that could help

language: python
python: 2.7
install:
  - python setup.py install
script:
  - flake8 --version
  - flake8 --ignore=E501 Adafruit

so it will ensure that library can be installed (no error in setup.py) and that merged code respect PEP8.

with flake8 you can use # noqa to disable ununsed imports for a given line.

See also
#144
#116

Kind regards

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