summaryrefslogtreecommitdiff
path: root/pylint/test/functional/fixme.py
blob: 298355d4a1eec90174dc5ca3c7f7b9dd7c61dd57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- 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.