Skip to content

Add flake8 to tests or black to CI #106

Closed

Description

@mrocklin

Currently it looks like PRs can pass tests without passing flake8 tests. Do we want to start enforcing style?

Activity

  1. jhamman commented on Jul 27, 2018

    @jhamman
    Member

    Do we want to start enforcing style?

    I would like this. Is there a standard flake8 config and way to enforce this for dask sub projects?

  2. mrocklin commented on Jul 27, 2018

    @mrocklin
    MemberAuthor
  3. jhamman commented on Jul 27, 2018

    @jhamman
    Member

    See #109. As far as I can tell, we've been running flake8 all along. Maybe @lesteve or @guillaumeeb has some idea why things weren't being raised in #78.

  4. guillaumeeb commented on Jul 28, 2018

    @guillaumeeb
    Member

    I remember asking myself if the none.sh job_script function would show something in Travis if flake checks failed.

    The thing that troubled me is that we are running flake8 and py.test in one Travis operation. Maybe we should add a && between the two calls to take into account both return codes?

  5. mrocklin commented on Jul 28, 2018

    @mrocklin
    MemberAuthor
  6. guillaumeeb commented on Aug 3, 2018

    @guillaumeeb
    Member

    Closed with #110.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions