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

Deprecate the sanitizer and recommend Bleach#501

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
gsnedders merged 3 commits intohtml5lib:masterfromgsnedders:deprecate-sanitizer
Jun 21, 2020

Conversation

gsnedders
Copy link
Member

@codecov-commenter
Copy link

codecov-commenter commentedJun 10, 2020
edited
Loading

Codecov Report

Merging#501 intomaster willincrease coverage by0.09%.
The diff coverage is100.00%.

Impacted file tree graph

@@            Coverage Diff             @@##           master     #501      +/-   ##==========================================+ Coverage   90.97%   91.07%   +0.09%==========================================  Files          49       50       +1       Lines        6936     7044     +108       Branches     1322     1341      +19     ==========================================+ Hits         6310     6415     +105- Misses        468      475       +7+ Partials      158      154       -4
Impacted FilesCoverage Δ
html5lib/filters/sanitizer.py93.38% <100.00%> (+0.22%)⬆️
html5lib/tests/sanitizer.py82.75% <100.00%> (+0.61%)⬆️
html5lib/tests/test_sanitizer.py94.80% <100.00%> (+0.06%)⬆️
html5lib/_utils.py82.95% <0.00%> (-4.55%)⬇️
html5lib/tests/support.py92.24% <0.00%> (-1.73%)⬇️
html5lib/html5parser.py98.43% <0.00%> (-0.02%)⬇️
html5lib/_inputstream.py91.77% <0.00%> (ø)
html5lib/tests/test_parser2.py100.00% <0.00%> (ø)
html5lib/tests/test_tokenizer2.py100.00% <0.00%> (ø)
html5lib/_tokenizer.py99.59% <0.00%> (+<0.01%)⬆️
... and4 more

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last updated49afd3...bbebb8d. Read thecomment docs.

@@ -11,6 +12,13 @@
__all__ = ["Filter"]


warnings.warn(
"html5lib's sanitizer is deprecated; see " +
Copy link
Member

Choose a reason for hiding this comment

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

Seems like this string could be a global.

Copy link

@g-kg-k left a comment

Choose a reason for hiding this comment

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

lgtm

* Try to import from `collections.abc` to remove DeprecationWarning and ensure
`html5lib` keeps working in future Python versions. (#403)
* Drop optional `datrie` dependency. (#442)
* Try to import from ``collections.abc`` to remove DeprecationWarning and ensure
Copy link

Choose a reason for hiding this comment

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

👍

@gsnedders
Copy link
MemberAuthor

Should probably also make sure the docs reflect this.

@gsneddersgsnedders mentioned this pull requestJun 16, 2020
@gsneddersgsnedders merged commit8df6cc9 intohtml5lib:masterJun 21, 2020
@gsneddersgsnedders deleted the deprecate-sanitizer branchJune 21, 2020 20:01
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jgrahamjgrahamjgraham left review comments

@g-kg-kg-k 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.

4 participants
@gsnedders@codecov-commenter@g-k@jgraham

[8]ページ先頭

©2009-2025 Movatter.jp