Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixed OptLocals being passed as the default value for "locals" #122

Merged
merged 4 commits into from
Jul 5, 2018

Conversation

agronholm
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Jul 5, 2018

Codecov Report

Merging #122 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #122   +/-   ##
======================================
  Coverage    92.8%   92.8%           
======================================
  Files           4       4           
  Lines         250     250           
  Branches       32      32           
======================================
  Hits          232     232           
  Misses         11      11           
  Partials        7       7
Impacted Files Coverage Δ
aiomonitor/monitor.py 91.56% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e56ec3c...4742cf5. Read the comment docs.

@@ -31,7 +31,7 @@ def start_monitor(loop: Loop, *,
port: int=MONITOR_PORT,
console_port: int=CONSOLE_PORT,
console_enabled: bool=True,
locals=OptLocals) -> 'Monitor':
locals: OptLocals = None) -> 'Monitor':
Copy link
Member

Choose a reason for hiding this comment

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

Odd, probably mypy is not configured properly

Copy link
Member

@jettify jettify left a comment

Choose a reason for hiding this comment

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

Thanks!

@jettify jettify merged commit a9a12c2 into aio-libs:master Jul 5, 2018
@jettify
Copy link
Member

jettify commented Jul 5, 2018

I tweaked mypy settings as result now we can spot such errors during CI #123

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants