Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
logilab-mtconverter
Commits
8e9ed753ff2f
Commit
404b7003
authored
Jul 28, 2021
by
Laurent Peuch
Browse files
fix: please mypy
parent
dc9c10c5c292
Pipeline
#104639
failed with stages
in 2 minutes and 53 seconds
Changes
2
Pipelines
11
Hide whitespace changes
Inline
Side-by-side
logilab/mtconverter/__init__.py
View file @
8e9ed753
...
...
@@ -165,7 +165,7 @@ def xml_escape(data: str) -> str:
)
html_escape
=
deprecation
.
renamed
(
"html_escape"
,
xml_escape
)
html_escape
=
deprecation
.
callable_
renamed
(
"html_escape"
,
xml_escape
)
def
html_unescape
(
data
:
str
)
->
str
:
...
...
logilab/mtconverter/transform.py
View file @
8e9ed753
...
...
@@ -56,7 +56,7 @@ class Transform:
trdata
.
encoding
=
self
.
output_encoding
return
trdata
def
_convert
(
self
,
trdata
:
TransformData
)
->
NotImplemented
:
def
_convert
(
self
,
trdata
:
TransformData
)
->
Any
:
raise
NotImplementedError
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment