Rewrite pseudo "type:" comments for pylint 2.0
See https://github.com/PyCQA/pylint/issues/2299
This commit is contained in:
parent
570fe3ed1a
commit
b1d508a3af
@ -312,7 +312,7 @@ class _Downloader:
|
||||
for style in styles:
|
||||
style = webkitelem.WebKitElement(style, tab=self.tab)
|
||||
# The Mozilla Developer Network says:
|
||||
# type: This attribute defines the styling language as a MIME type
|
||||
# type - This attribute defines the styling language as a MIME type
|
||||
# (charset should not be specified). This attribute is optional and
|
||||
# default to text/css if it's missing.
|
||||
# https://developer.mozilla.org/en/docs/Web/HTML/Element/style
|
||||
|
@ -74,7 +74,7 @@ class SqliteError(SqlError):
|
||||
'13', # SQLITE_FULL
|
||||
]
|
||||
# At least in init(), we can get errors like this:
|
||||
# type: ConnectionError
|
||||
# type - ConnectionError
|
||||
# database text: out of memory
|
||||
# driver text: Error opening database
|
||||
# error code: -1
|
||||
|
Loading…
Reference in New Issue
Block a user