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
5245 f-strings #5246
Merged
Merged
5245 f-strings #5246
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
82c26ab
extentions.httpcache : string format replaced by f-strings
GeorgeA92 5c622ae
downloadermiddlewares.httpcache : string format replaced by f-strings
GeorgeA92 5befc88
scrapy.utils.misc : string format replaced by f-strings
GeorgeA92 5372d95
scrapy.core.downloader.contextfactory : string format replaced by f-s…
GeorgeA92 42da1f4
scrapy.core.downloader.tls : string format replaced by f-strings
GeorgeA92 9b5354d
tests.test_closespider : string format replaced by f-strings
GeorgeA92 cb93322
tests.test_http_request : string format replaced by f-strings
GeorgeA92 1485f61
tests.test_commands : string format replaced by f-strings
GeorgeA92 abeb3c2
tests.test_downloader_handlers_http2 : string format replaced by f-st…
GeorgeA92 79c1713
tests.spiders : string format replaced by f-strings
GeorgeA92 06aaf0a
scrapy.extensions.feedexport : string format replaced by f-strings
GeorgeA92 8b312cb
scrapy.extensions.feedexport : _close_slot f-string usage optimized
GeorgeA92 9ac5b6c
scrapy.extensions.feedexport : error fixed
GeorgeA92 7362fc7
tests.test_http_request : regular string used
GeorgeA92 c30db21
extentions.httpcache : logger debug message formatting updated
GeorgeA92 dc19c7d
scrapy.__init__ : string format replaced by f-strings
GeorgeA92 ead32c1
scrapy.core.downloader.tls : logger warning message formatting updated
GeorgeA92 16fddcb
scrapy.extensions.feedexport: logger message formatting updated
GeorgeA92 7f2990e
scrapy.extensions.feedexport: logger message formatting fixed
GeorgeA92 5c6db3c
tests.spiders: logger message formatting fixed
GeorgeA92 799cd84
tests.spiders: log message fixed
GeorgeA92 91b776e
scrapy.extensions.feedexport: `logfmt` -> renamed to `logmsg`
GeorgeA92 2a1faec
scrapy.core.downloader.contextfactory : remove tuple from f-string
GeorgeA92 9c6b2b9
code.downloader.contextfactory: warning message formatting updated
GeorgeA92 3ce0fad
core.downloader.tls: logger message formatting updated
GeorgeA92 0f27f1b
extensions.feedexport: `logmsg` formatting updated
GeorgeA92 bb62afd
utils.misc: error message formatting updated
GeorgeA92 67ce305
tests.test_http_request: test_from_response_valid_form_methods -> upd…
GeorgeA92 548906e
tests.test_http_request: statement formatting updated
GeorgeA92 bec8b1c
tests.test_downloadermiddleware_stats: statement formatting updated
GeorgeA92 d3be17b
tests.test_http_request: typo fixed
GeorgeA92 a4cc04c
downloadermiddlewares.httpcache: `{str(request)}` -> `{request}`
GeorgeA92 File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Nitpick) I would suggest either putting everything in the same line (which should be ok given our current line length), or each argument in its own line.