-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
Spelling #5764
Spelling #5764
Conversation
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
- replace unencodable codepoints with html entities. fixes #562 and #285 (:commit:`5f87b17`) | ||
- replace unencodeable codepoints with html entities. fixes #562 and #285 (:commit:`5f87b17`) |
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.
some projects don't like changing changelogs.
I'm trying to be fairly conservative about my changes..
def __init__(self, parslet_json_code): | ||
parslet = json.loads(parselet_json_code) | ||
def __init__(self, parsley_json_code): | ||
parsley = json.loads(parselet_json_code) | ||
class ParsleyItem(Item): | ||
def __init__(self, *a, **kw): | ||
for name in parslet.keys(): | ||
for name in parsley.keys(): | ||
self.fields[name] = Field() | ||
super(ParsleyItem, self).__init__(*a, **kw) | ||
self.item_class = ParsleyItem | ||
self.parsley = PyParsley(parslet, output='python') | ||
self.parsley = PyParsley(parsley, output='python') | ||
|
||
def process_response(self, response, request, spider): | ||
return self.item_class(self.parsly.parse(string=response.body)) | ||
return self.item_class(self.parsley.parse(string=response.body)) |
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.
notable...
Codecov Report
@@ Coverage Diff @@
## master #5764 +/- ##
==========================================
+ Coverage 84.82% 84.84% +0.01%
==========================================
Files 162 162
Lines 10974 10974
Branches 1795 1795
==========================================
+ Hits 9309 9311 +2
+ Misses 1394 1393 -1
+ Partials 271 270 -1
|
@@ -316,7 +316,7 @@ def _make_read_only(path: Path): | |||
self.assertEqual(actual_permissions, expected_permissions) | |||
|
|||
def test_startproject_permissions_unchanged_in_destination(self): | |||
"""Check that pre-existing folders and files in the destination folder | |||
"""Check that preexisting folders and files in the destination folder |
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.
This one seems arguable, but no strong opinion either way.
Same applies to “nonexistent” later on.
Closing and reopening to re-trigger CI jobs… |
This PR corrects misspellings identified by the check-spelling action.
The misspellings have been reported at https://github.com/jsoref/scrapy/actions/runs/3727974993
The action reports that the changes in this PR would make it happy: https://github.com/jsoref/scrapy/actions/runs/3727977653
Note: this PR does not include the action. If you're interested in running a spell check on every PR and push, that can be offered separately.