Skip to content

TST: Fix NOQA for flake8 checking in datetools.py #12517

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

Closed
wants to merge 1 commit into from

Conversation

gfyoung
Copy link
Member

@gfyoung gfyoung commented Mar 3, 2016

Recent changes to pyflakes (see here) suddenly started raising errors in datetools.py due to the star imports at the top, which the #noqa was not preventing. The correct syntax is # flake8: noqa

PLEASE MERGE ASAP

Recent changes to pyflakes suddenly started raising errors
in datetools.py due to the star imports at the top, which
the "#noqa" was not preventing. The correct syntax is "# flake8: noqa"
@gfyoung
Copy link
Member Author

gfyoung commented Mar 3, 2016

For anyone out there with permissions to cancel tests on Travis, all of the builds that are right now queued before mine for this PR (#18011) WILL FAIL because of this style checking issue. At the very least, if someone could cancel all of my builds (excluding this one, just search for "gfyoung") as well as cancel any old builds of anyone else's PR's so that this one can land ASAP, that would be great.

@jreback
Copy link
Contributor

jreback commented Mar 3, 2016

there is more, already have these in #12511

maybe we should use a fixed version of pyflakes

@jreback jreback closed this Mar 3, 2016
@gfyoung gfyoung deleted the noqa_update branch March 3, 2016 03:00
@gfyoung
Copy link
Member Author

gfyoung commented Mar 3, 2016

Perhaps. I was surprised to see that star import checking popping up relatively late in the game given how many versions have come out already, though discouraging star imports in the general case is understandable.

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 this pull request may close these issues.

2 participants