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 autoflake fixer #1971

Merged
merged 1 commit into from May 8, 2019

Conversation

Projects
None yet
3 participants
@Zac-HD
Copy link
Member

commented May 8, 2019

This patch adds autoflake to our formatting job, so that unused imports are removed automatically instead of causing a lint error. It also handles unused variables, and - most relevantly as this actually causes a diff - removes pointless pass statements. Hurrah for canonical forms!

@Zac-HD Zac-HD requested a review from DRMacIver May 8, 2019

@rsokl

rsokl approved these changes May 8, 2019

Show resolved Hide resolved hypothesis-python/RELEASE.rst Outdated

@Zac-HD Zac-HD force-pushed the Zac-HD:add-autoflake branch from b457fd7 to f06ae99 May 8, 2019

@Zac-HD Zac-HD merged commit 0b799c9 into HypothesisWorks:master May 8, 2019

4 checks passed

HypothesisWorks.hypothesis #20190508.8 succeeded
Details
ci/circleci Your tests passed on CircleCI!
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@Zac-HD Zac-HD deleted the Zac-HD:add-autoflake branch May 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.