summaryrefslogtreecommitdiff
path: root/doc/data/messages/f
diff options
context:
space:
mode:
Diffstat (limited to 'doc/data/messages/f')
-rw-r--r--doc/data/messages/f/fixme/details.rst2
-rw-r--r--doc/data/messages/f/forgotten-debug-statement/bad.py9
-rw-r--r--doc/data/messages/f/forgotten-debug-statement/good.py7
-rw-r--r--doc/data/messages/f/format-combined-specification/bad.py2
-rw-r--r--doc/data/messages/f/format-combined-specification/good.py4
5 files changed, 17 insertions, 7 deletions
diff --git a/doc/data/messages/f/fixme/details.rst b/doc/data/messages/f/fixme/details.rst
index 02869b537..732b4d88d 100644
--- a/doc/data/messages/f/fixme/details.rst
+++ b/doc/data/messages/f/fixme/details.rst
@@ -1,2 +1,2 @@
You can get use regular expressions and the ``notes-rgx`` option to create some constraints for this message.
-See `the following issue <https://github.com/PyCQA/pylint/issues/2874>`_ for some examples.
+See `the following issue <https://github.com/pylint-dev/pylint/issues/2874>`_ for some examples.
diff --git a/doc/data/messages/f/forgotten-debug-statement/bad.py b/doc/data/messages/f/forgotten-debug-statement/bad.py
index 6a2a34580..e37185371 100644
--- a/doc/data/messages/f/forgotten-debug-statement/bad.py
+++ b/doc/data/messages/f/forgotten-debug-statement/bad.py
@@ -3,10 +3,15 @@ import pdb
def find_the_treasure(clues):
for clue in clues:
- pdb.set_trace() # [forgotten-debug-statement]
+ pdb.set_trace() # [forgotten-debug-statement]
if "treasure" in clue:
return True
return False
-treasure_hunt = ["Dead Man's Chest", "X marks the spot", "The treasure is buried near the palm tree"]
+
+treasure_hunt = [
+ "Dead Man's Chest",
+ "X marks the spot",
+ "The treasure is buried near the palm tree",
+]
find_the_treasure(treasure_hunt)
diff --git a/doc/data/messages/f/forgotten-debug-statement/good.py b/doc/data/messages/f/forgotten-debug-statement/good.py
index 21132cb47..7896ff50e 100644
--- a/doc/data/messages/f/forgotten-debug-statement/good.py
+++ b/doc/data/messages/f/forgotten-debug-statement/good.py
@@ -4,5 +4,10 @@ def find_the_treasure(clues):
return True
return False
-treasure_hunt = ["Dead Man's Chest", "X marks the spot", "The treasure is buried near the palm tree"]
+
+treasure_hunt = [
+ "Dead Man's Chest",
+ "X marks the spot",
+ "The treasure is buried near the palm tree",
+]
find_the_treasure(treasure_hunt)
diff --git a/doc/data/messages/f/format-combined-specification/bad.py b/doc/data/messages/f/format-combined-specification/bad.py
index 6a6a051f2..f530aa0d5 100644
--- a/doc/data/messages/f/format-combined-specification/bad.py
+++ b/doc/data/messages/f/format-combined-specification/bad.py
@@ -1 +1 @@
-print('{} {1}'.format('hello', 'world')) # [format-combined-specification]
+print("{} {1}".format("hello", "world")) # [format-combined-specification]
diff --git a/doc/data/messages/f/format-combined-specification/good.py b/doc/data/messages/f/format-combined-specification/good.py
index 542b77507..8aaab67f2 100644
--- a/doc/data/messages/f/format-combined-specification/good.py
+++ b/doc/data/messages/f/format-combined-specification/good.py
@@ -1,3 +1,3 @@
-print('{0} {1}'.format('hello', 'world'))
+print("{0} {1}".format("hello", "world"))
# or
-print('{} {}'.format('hello', 'world'))
+print("{} {}".format("hello", "world"))