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 lint and typecheck warnings #14

Merged
merged 1 commit into from
May 22, 2023
Merged

Fix lint and typecheck warnings #14

merged 1 commit into from
May 22, 2023

Conversation

dubek
Copy link
Member

@dubek dubek commented May 22, 2023

No description provided.

Signed-off-by: Dov Murik <dov.murik1@il.ibm.com>
@dubek dubek requested a review from fitzthum May 22, 2023 08:12
Copy link
Collaborator

@fitzthum fitzthum left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -1,5 +1,6 @@
from enum import Enum


Copy link
Collaborator

Choose a reason for hiding this comment

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

Did the linter really require this extra line?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. PEP8 says:

Surround top-level function and class definitions with two blank lines.

and flake8 (the linter) enforces that.

@dubek dubek merged commit 5e3454f into main May 22, 2023
@dubek dubek deleted the fix-lint branch May 22, 2023 17:21
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