Skip to content

Lint all the libraries! #475

Closed
Closed
@tannewt

Description

@tannewt

I'm going through and updating the libraries to our new build process and to turn on lint. Here is the process:

  1. Copy .pylintrc from the cookiecutter repo into the new repo.
  2. Add this to .gitignore
.env
build*
bundles
  1. Copy .travis.yml from cookiecutter into the repo overwriting the old version.
  2. Update lines 1 and 3 of the script section of .travis.yml to reflect the driver name.
  3. Add this to all modules in the driver with the correct repo url below the module comment:
__version__ = "0.0.0-auto.0"
__repo__ = "<repo url"
  1. Run pylint on all modules and fix all errors.
  2. Run pylint --disable=missing-docstring,invalid-name examples/*.py to pylint all examples and fix all errors.

If you are doing the PR then please check the box below before you start! That way no one else will do it at the same time.

Remaining

Pending PRs

These PRs may need testing before they can be merged.

Complete PRs

These PRs complete with testing and releases!

Activity

tannewt

tannewt commented on Dec 7, 2017

@tannewt
MemberAuthor

Background on the lint configs is available here: adafruit/cookiecutter-adafruit-circuitpython#6

61 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Lint all the libraries! · Issue #475 · adafruit/circuitpython