mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 15:53:07 +02:00
vwtask: Supress protected member warnings
This commit is contained in:
parent
9ee55f1395
commit
e71587ee26
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ class VimwikiTask(object):
|
||||||
Creates a Vimwiki object from given line in the buffer.
|
Creates a Vimwiki object from given line in the buffer.
|
||||||
- If line does not contain a Vimwiki task, returns None.
|
- If line does not contain a Vimwiki task, returns None.
|
||||||
"""
|
"""
|
||||||
|
# Protected access is ok here
|
||||||
|
# pylint: disable=W0212
|
||||||
|
|
||||||
match = re.search(regexp.GENERIC_TASK, vim.current.buffer[number])
|
match = re.search(regexp.GENERIC_TASK, vim.current.buffer[number])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue