diff options
Diffstat (limited to 'doc/data/messages')
-rw-r--r-- | doc/data/messages/m/misplaced-format-function/bad.py | 1 | ||||
-rw-r--r-- | doc/data/messages/m/misplaced-format-function/details.rst | 1 | ||||
-rw-r--r-- | doc/data/messages/m/misplaced-format-function/good.py | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/doc/data/messages/m/misplaced-format-function/bad.py b/doc/data/messages/m/misplaced-format-function/bad.py new file mode 100644 index 000000000..0bd172369 --- /dev/null +++ b/doc/data/messages/m/misplaced-format-function/bad.py @@ -0,0 +1 @@ +print('Value: {}').format('Car') # [misplaced-format-function] diff --git a/doc/data/messages/m/misplaced-format-function/details.rst b/doc/data/messages/m/misplaced-format-function/details.rst deleted file mode 100644 index ab8204529..000000000 --- a/doc/data/messages/m/misplaced-format-function/details.rst +++ /dev/null @@ -1 +0,0 @@ -You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ ! diff --git a/doc/data/messages/m/misplaced-format-function/good.py b/doc/data/messages/m/misplaced-format-function/good.py index c40beb573..809dcf974 100644 --- a/doc/data/messages/m/misplaced-format-function/good.py +++ b/doc/data/messages/m/misplaced-format-function/good.py @@ -1 +1 @@ -# This is a placeholder for correct code for this message. +print('Value: {}'.format('Car')) |