Skip to content

Fix codestyle checks in tox and fix PEP8 whitespace issues - #10347

Merged
pllim merged 1 commit into
astropy:masterfrom
astrofrog:fix-flake8
May 13, 2020
Merged

pllim merged 1 commit into
astropy:masterfrom
astrofrog:fix-flake8

Conversation

@astrofrog

@astrofrog astrofrog commented May 13, 2020 •

Copy link
Copy Markdown
Member

The tox codestyle environment was actually not running in the correct directory (sorry 😨) so this PR fixes this and PEP8 issues that have crept in in the mean time. A new release of flake8 this weeks means we actually got an error because of the wrong directory, whereas before it was silently 'failing'. This should fix the CircleCI html-docs job which was failing because of this.

EDIT: Fix #10348

@astrofrog
astrofrog requested review from bsipocz and pllim May 13, 2020 16:10
@astrofrog astrofrog added the Affects-dev PRs and issues that do not impact an existing Astropy release label May 13, 2020
@astrofrog astrofrog added this to the v4.1 milestone May 13, 2020
@astrofrog astrofrog added the Bug label May 13, 2020
@pllim

pllim commented May 13, 2020

Copy link
Copy Markdown
Member

Well, hopefully this would fix the Travis CI job too. Thanks!

@pllim pllim added the 🔥 Critical label May 13, 2020

@pllim pllim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As long as CI passes, LGTM. Thanks!

xref #9726

@pllim

pllim commented May 13, 2020

Copy link
Copy Markdown
Member

p.s. LoL, look at all those labels.

@astrofrog astrofrog added the zzz 💤 merge-when-ci-passes Do not use: We have auto-merge option now. label May 13, 2020
@astrofrog

Copy link
Copy Markdown
Member Author

OH MY GOD IT'S FULL OF LABELS!

@pllim
pllim merged commit b6b4123 into astropy:master May 13, 2020
astrofrog pushed a commit that referenced this pull request May 19, 2020
Fix codestyle checks in tox and fix PEP8 whitespace issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Affects-dev PRs and issues that do not impact an existing Astropy release Bug coordinates 🔥 Critical io.ascii io.misc modeling table utils wcs.wcsapi wcs zzz 💤 io.misc.asdf archived: Go to asdf-astropy repo zzz 💤 merge-when-ci-passes Do not use: We have auto-merge option now.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TST: flake8 failing with E902 FileNotFoundError

2 participants