Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flake8 to tests or black to CI #106

Closed
mrocklin opened this issue Jul 27, 2018 · 6 comments · Fixed by #109
Closed

Add flake8 to tests or black to CI #106

mrocklin opened this issue Jul 27, 2018 · 6 comments · Fixed by #109

Comments

@mrocklin
Copy link
Member

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

@mrocklin mrocklin mentioned this issue Jul 27, 2018
@jhamman
Copy link
Member

jhamman commented Jul 27, 2018

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?

@mrocklin
Copy link
Member Author

mrocklin commented Jul 27, 2018 via email

@jhamman
Copy link
Member

jhamman commented Jul 27, 2018

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.

@guillaumeeb
Copy link
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?

@mrocklin
Copy link
Member Author

mrocklin commented Jul 28, 2018 via email

@guillaumeeb
Copy link
Member

Closed with #110.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants