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

fix linting by using new maligned linter instead of aligncheck #659

Merged
merged 2 commits into from
Oct 31, 2017

Conversation

hsitter
Copy link
Contributor

@hsitter hsitter commented Oct 31, 2017

upstream switched the alignment check backend and in doing so fails to run
if the old backend is defined in the config.

also skip alignment linting on a struct we use for byte decoding as we have
no choice in its member order.

Also see alecthomas/gometalinter@90d9878

Fixes all PRs failing on linting

upstream switched the alignment check backend and in doing so fails to run
if the old backend is defined in the config.

also skip alignment linting on a struct we use for byte decoding as we have
no choice in its member order.
'E722 do not use bare except' wants us not to use except without type
restriction as it catches everything and the kitchen sink. Since we use
them to catch exceptions in test cases this is intentional as we implement
general purpose error handling on test failure there.
@smira
Copy link
Contributor

smira commented Oct 31, 2017

Thanks!

@smira smira added the 1.2.0 label Oct 31, 2017
@smira smira merged commit 79d68ec into aptly-dev:master Oct 31, 2017
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