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

Implement PEP518 support, mass fix of type hints + add stubs #1

Merged
merged 1 commit into from Apr 25, 2018
Merged

Implement PEP518 support, mass fix of type hints + add stubs #1

merged 1 commit into from Apr 25, 2018

Conversation

penguinolog
Copy link
Collaborator

  • Code-style: switch to 120 symbols/line

@@ -67,7 +69,7 @@ def configure(
# pylint: enable=arguments-differ

@classmethod
def shutdown(cls):
def shutdown(cls): # type: () -> None

Choose a reason for hiding this comment

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

for consistency I would use either () or (...)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@classmethod and (cls) means, that no arguments accepted -> should use () in typing. (...) expect arguments accept.

* Code-style: switch to 120 symbols/line
@coveralls
Copy link

coveralls commented Apr 24, 2018

Pull Request Test Coverage Report for Build 39

  • 24 of 24 (100.0%) changed or added relevant lines in 6 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 98.649%

Totals Coverage Status
Change from base Build 37: 0.03%
Covered Lines: 292
Relevant Lines: 296

💛 - Coveralls

@penguinolog penguinolog merged commit 012b83d into python-useful-helpers:master Apr 25, 2018
@penguinolog penguinolog deleted the pep518_typing branch April 25, 2018 08:58
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.

None yet

3 participants