Skip to content

Annotate celery/states.py#7395

Merged
auvipy merged 3 commits intocelery:masterfrom
Kludex:annotate/celery/states.py
Apr 3, 2022
Merged

Annotate celery/states.py#7395
auvipy merged 3 commits intocelery:masterfrom
Kludex:annotate/celery/states.py

Conversation

@Kludex
Copy link
Copy Markdown
Contributor

@Kludex Kludex commented Apr 2, 2022

EDIT: I've included celery/signals.py on this PR, as there was no changes needed on it.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 2, 2022

Codecov Report

Merging #7395 (94ead9a) into master (fbda008) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #7395   +/-   ##
=======================================
  Coverage   89.30%   89.30%           
=======================================
  Files         138      138           
  Lines       16762    16762           
  Branches     2451     2451           
=======================================
  Hits        14969    14969           
  Misses       1561     1561           
  Partials      232      232           
Flag Coverage Δ
unittests 89.29% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
celery/states.py 100.00% <100.00%> (ø)
celery/backends/asynchronous.py 67.09% <0.00%> (ø)

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 fbda008...94ead9a. Read the comment docs.

@auvipy auvipy added this to the 5.2.x milestone Apr 3, 2022
Copy link
Copy Markdown
Member

@auvipy auvipy left a comment

Choose a reason for hiding this comment

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

is there any better ways to validate or verify type hints?

@Kludex
Copy link
Copy Markdown
Contributor Author

Kludex commented Apr 3, 2022

is there any better ways to validate or verify type hints?

I'm not sure if I get the question. Isn't mypy doing that for us already?

@auvipy auvipy merged commit 314d014 into celery:master Apr 3, 2022
@auvipy
Copy link
Copy Markdown
Member

auvipy commented Apr 3, 2022

also to avoid to much small PR, can you include small modules type hints in a single PR? with separate commits?

@Kludex Kludex deleted the annotate/celery/states.py branch April 3, 2022 04:05
@Kludex
Copy link
Copy Markdown
Contributor Author

Kludex commented Apr 3, 2022

Sure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants