python-by-example-150-chall.../venv/lib/python3.6/site-packages/pylint/test/functional/fixme.py

25 lines
681 B
Python
Raw Normal View History

2019-08-04 20:26:35 +08:00
# -*- encoding=utf-8 -*-
# pylint: disable=missing-docstring, unused-variable
# +1: [fixme]
# FIXME: beep
def function():
variable = "FIXME: Ignore me!"
# +1: [fixme]
test = "text" # FIXME: Valid test
# +1: [fixme]
# TODO: Do something with the variables
# +1: [fixme]
xxx = "n/a" # XXX: Fix this later
# +1: [fixme]
#FIXME: no space after hash
# +1: [fixme]
#todo: no space after hash
#FIXME: in fact nothing to fix #pylint: disable=fixme
#TODO: in fact nothing to do #pylint: disable=fixme
#TODO: in fact nothing to do #pylint: disable=line-too-long, fixme
# Todoist API mentioned should not result in a message.