Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bump Flake8 to fix CI for Python 3.7#554

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ambv merged 2 commits intohtml5lib:masterfromhugovk:fix-ci
Mar 1, 2023
Merged

Conversation

hugovk
Copy link
Contributor

The Python 3.7 CI jobhas started failing:

    self._load_entrypoint_plugins()  File "/home/runner/work/html5lib-python/html5lib-python/.tox/py/lib/python3.7/site-packages/flake8/plugins/manager.py", line 254, in _load_entrypoint_plugins    eps = importlib_metadata.entry_points().get(self.namespace, ())AttributeError: 'EntryPoints' object has no attribute 'get'ERROR: InvocationError for command /home/runner/work/html5lib-python/html5lib-python/.tox/py/bin/flake8 . (exited with code 1)

This is because importlib_metadata 5.0 removes some deprecations, and it's a dependency of Flake8. But new Flake8 works, so let's update:

Also fix the new Flake8 findings:

./html5lib/_inputstream.py:327:27: E275 missing whitespace after keyword./html5lib/serializer.py:225:15: E275 missing whitespace after keyword./html5lib/serializer.py:232:15: E275 missing whitespace after keyword./html5lib/treewalkers/etree.py:40:19: E275 missing whitespace after keyword./html5lib/treebuilders/etree.py:111:19: E275 missing whitespace after keyword./html5lib/treebuilders/etree.py:204:19: E275 missing whitespace after keyword./html5lib/tests/test_serializer.py:77:19: E275 missing whitespace after keyword

@ambvambv merged commit3ecbda6 intohtml5lib:masterMar 1, 2023
@hugovkhugovk deleted the fix-ci branchMarch 1, 2023 13:55
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jgrahamjgrahamjgraham approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@hugovk@jgraham@ambv

[8]ページ先頭

©2009-2025 Movatter.jp