Skip to content

Diagnostics needs unit and linter (pylint) tests #4

Closed

Description

@nusbaume

In order to help in the development and maintenance of the CAM diagnostics package, unit tests (either as official python "unittests" or as "doctests") should be developed such that the diagnostics code can be easily tested, including in an automated CI/CD workflow.

Along with this, a method to properly apply the pylint linter program to the CAM diagnostics would also be beneficial, as it would help catch any possible syntax errors, as well as improve readability and portability. Ideally this method can also be automated in a CI/CD workflow, similar to the unit tests.

Activity

  1. self-assigned this
    on Apr 20, 2020
  2. nusbaume commented on Oct 5, 2021

    @nusbaume
    CollaboratorAuthor

    Adding a note here that ideally pylint should be applied to all files in the lib directory, and not jus the adf_xxx.py files. Once that is done this issue will be considered resolved.

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions