Skip to content

Code Linting in Continuous Integration #214

Description

@kyleaoman

Continuous integration should check that code conforms to a consistent style. Some suggestions:

  • At a minimum check PEP8 compliance with a tool such as flake8.
  • Recommend adopting a formatting style such as black and checking in CI. Related: Formatting Code with Black #168
  • Consider also checking docstrings. They appear to loosely conform to the numpy style. This can be checked (and the level of compliance configured) with a tool such as numpydoc. At a minimum checking for consistency between arguments in function definitions and in docstring is a good idea.

This issue is part of my PyOpenSci review. For review pass/fail purposes, resolving it is required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions