8000 Fix typo in cmdline.py comment: 'a argument' -> 'an argument' by nakanoh · Pull Request #6875 · scrapy/scrapy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix typo in cmdline.py comment: 'a argument' -> 'an argument' #6875

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

Merged

Conversation

nakanoh
Copy link
Contributor
@nakanoh nakanoh commented Jun 7, 2025

Description:
This pull request fixes a minor typo in a comment in scrapy/cmdline.py:
Changes "a argument" to "an argument" for correct English usage.
Also improves the comment's clarity by changing "that is" to "that it is" for better English grammar.
No code logic or functionality is affected by this change.

Checklist:
[x] My change is as small as possible and focused on a single issue (typo fix).
[x] No tests are needed as this is a comment-only change.
[x] I have followed the contribution guidelines.

Copy link
codecov bot commented Jun 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.91%. Comparing base (d825133) to head (39809ca).
Report is 3 commits behind head on master.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6875      +/-   ##
==========================================
+ Coverage   90.88%   90.91%   +0.03%     
==========================================
  Files         165      165              
  Lines       12580    12649      +69     
  Branches     1642     1662      +20     
==========================================
+ Hits        11433    11500      +67     
- Misses        836      837       +1     
- Partials      311      312       +1     
Files with missing lines Coverage Δ
scrapy/cmdline.py 74.82% <100.00%> (ø)

... and 1 file with indirect coverage changes

nakanoh and others added 2 commits June 7, 2025 22:46
I've written a test for the _parse_optional method. Please feel free to use it if it's helpful, or ignore it if it's not suitable.
@Gallaecio
Copy link
Member

Could you revert d66f649?

I don’t think we need tests for this change.

@nakanoh
Copy link
Contributor Author
nakanoh commented Jun 7, 2025

Reverted the test commit as requested. Thank you for the review!

@Gallaecio
Copy link
Member

Hmm… Those failures are completely unrelated. I wonder what’s triggering them, though.

@Gallaecio Gallaecio closed this Jun 9, 2025
@Gallaecio Gallaecio reopened this Jun 9, 2025
@Gallaecio Gallaecio merged commit 6b5a4a6 into scrapy:master Jun 9, 2025
78 of 125 checks passed
@Gallaecio
Copy link
Member

Thanks!

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.

2 participants
0