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

Use modern Python syntax set literals and dict comprehension #415

Merged
merged 1 commit into from
Oct 29, 2019
Merged

Use modern Python syntax set literals and dict comprehension #415

merged 1 commit into from
Oct 29, 2019

Conversation

jdufresne
Copy link
Contributor

Available since Python 2.7. Instances discovered using pyupgrade.

Available since Python 2.7. Instances discovered using pyupgrade.
@codecov-io
Copy link

codecov-io commented Apr 6, 2019

Codecov Report

Merging #415 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #415   +/-   ##
=======================================
  Coverage   90.79%   90.79%           
=======================================
  Files          50       50           
  Lines        6952     6952           
  Branches     1328     1328           
=======================================
  Hits         6312     6312           
  Misses        481      481           
  Partials      159      159
Impacted Files Coverage Δ
html5lib/treebuilders/base.py 85.64% <ø> (ø) ⬆️
html5lib/tests/test_serializer.py 92.75% <100%> (ø) ⬆️
html5lib/tests/tokenizer.py 83.33% <100%> (ø) ⬆️
html5lib/constants.py 100% <100%> (ø) ⬆️
html5lib/_inputstream.py 91.92% <100%> (ø) ⬆️
html5lib/html5parser.py 98.31% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4f92357...c8e3d2b. Read the comment docs.

Copy link
Contributor

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@jgraham jgraham merged commit af19281 into html5lib:master Oct 29, 2019
@jdufresne jdufresne deleted the pyupgrade branch February 26, 2020 01:52
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

4 participants