Skip to content

Use modern Python syntax set literals and dict comprehension#415

Merged
jgraham merged 1 commit intohtml5lib:masterfrom
jdufresne:pyupgrade
Oct 29, 2019
Merged

Use modern Python syntax set literals and dict comprehension#415
jgraham merged 1 commit intohtml5lib:masterfrom
jdufresne:pyupgrade

Conversation

@jdufresne
Copy link
Copy Markdown
Contributor

Available since Python 2.7. Instances discovered using pyupgrade.

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

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
Copy Markdown
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.

4 participants