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

Add type hints to FilesPipeline and ImagesPipeline #6191

Merged
merged 1 commit into from
Dec 29, 2023

Conversation

y26805
Copy link
Contributor

@y26805 y26805 commented Dec 29, 2023

Related #5739
Follow-up to #5801, where compatibility with Path was added but type hints were not updated.

Copy link

codecov bot commented Dec 29, 2023

Codecov Report

Merging #6191 (85a72af) into master (34e01a8) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6191   +/-   ##
=======================================
  Coverage   88.63%   88.63%           
=======================================
  Files         160      160           
  Lines       11614    11615    +1     
  Branches     1890     1890           
=======================================
+ Hits        10294    10295    +1     
  Misses        994      994           
  Partials      326      326           
Files Coverage Δ
scrapy/pipelines/files.py 79.33% <100.00%> (ø)
scrapy/pipelines/images.py 96.40% <100.00%> (+0.02%) ⬆️

@Gallaecio
Copy link
Member

Nice!

@Gallaecio Gallaecio merged commit 40e623b into scrapy:master Dec 29, 2023
26 checks passed
@y26805 y26805 deleted the better-pathlib-compat branch January 8, 2024 06:51
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