-
Notifications
You must be signed in to change notification settings - Fork 59
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
Specify Python 2 for LGTM #62
Conversation
LGTM defaults to Python 3 for the storage role because it was created recently. Since it needs to support Python 2 as well, configure it explicitly.
This pull request introduces 2 alerts when merging fd08008 into 378239c - view on LGTM.com new alerts:
|
The @Property decorator requires a new-style class in Python 2, see https://lgtm.com/rules/10030086/
@i386x could you please get it into the CI template (PR linux-system-roles/template#5 )? |
Done in linux-system-roles/template@427866f. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
LGTM defaults to Python 3 for the storage role because it was created
recently. Since it needs to support Python 2 as well, configure it
explicitly.
LGTM is a static code analyzer to identify bugs in code, it found real issues that I fixed in PR #52.
This change is