Skip to content

Add flake8 tests as Github Action to lint code #318

Closed

Description

@brendancol
No description provided.

Activity

  1. brendancol commented on Apr 9, 2021

    @brendancol
    ContributorAuthor

    @giancastro something like:

        - name: Lint with flake8
          run: |
            # $CONDA/bin/conda install flake8
            # stop the build if there are Python syntax errors or undefined names
            # $CONDA/bin/flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
            # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
            # $CONDA/bin/flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
  2. linked a pull request that will close this issueAdd flake8 Github Action #331on Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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