Skip to content

Set pipefail when running flake8 linter. #18227

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

Merged
merged 1 commit into from
Aug 12, 2020

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Aug 12, 2020

PR Summary

This ensures that the lint will fail if flake8 is broken, otherwise default bash behaviour is to ignore it, if reviewdog exits cleanly.
See #18200 (review)

PR Checklist

  • [n/a] Has Pytest style unit tests
  • Code is Flake 8 compliant
  • [n/a] New features are documented, with examples if plot related
  • [n/a] Documentation is sphinx and numpydoc compliant
  • [n/a] Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • [n/a] Documented in doc/api/next_api_changes/* if API changed in a backward-incompatible way

This ensures that the lint will fail if flake8 is broken, otherwise
default bash behaviour is to ignore it, if reviewdog exits cleanly.
@QuLogic QuLogic added the Build label Aug 12, 2020
@QuLogic QuLogic added this to the v3.3.1 milestone Aug 12, 2020
@tacaswell
Copy link
Member

Given that this is CI configuration I think it is fine to ignore the rest of the CI. I'm going to break protocol a bit and directly merge this.

@tacaswell tacaswell merged commit bd97b33 into matplotlib:master Aug 12, 2020
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Aug 12, 2020
@QuLogic QuLogic deleted the flake8-pipefail branch August 12, 2020 02:33
dopplershift added a commit that referenced this pull request Aug 12, 2020
…227-on-v3.3.x

Backport PR #18227 on branch v3.3.x (Set pipefail when running flake8 linter.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants