summaryrefslogtreecommitdiff
path: root/doc/data/messages/e
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2022-03-23 19:35:33 +0100
committerGitHub <noreply@github.com>2022-03-23 19:35:33 +0100
commit536087e448f9204ddbaea10a55ca5eab7d64de0d (patch)
treef33267e8afb985a74f8c0ba1a8a1d7a75361271c /doc/data/messages/e
parent9c90db16a860d5e33b4916feb232a0a6fe9f420d (diff)
downloadpylint-git-536087e448f9204ddbaea10a55ca5eab7d64de0d.tar.gz
Set up system of code examples and details for message documentation (#5934)
Diffstat (limited to 'doc/data/messages/e')
-rw-r--r--doc/data/messages/e/empty-docstring/bad.py2
-rw-r--r--doc/data/messages/e/empty-docstring/good.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/data/messages/e/empty-docstring/bad.py b/doc/data/messages/e/empty-docstring/bad.py
new file mode 100644
index 000000000..83d360125
--- /dev/null
+++ b/doc/data/messages/e/empty-docstring/bad.py
@@ -0,0 +1,2 @@
+def foo():
+ pass # [emtpy-docstring]
diff --git a/doc/data/messages/e/empty-docstring/good.py b/doc/data/messages/e/empty-docstring/good.py
new file mode 100644
index 000000000..b587ca4c6
--- /dev/null
+++ b/doc/data/messages/e/empty-docstring/good.py
@@ -0,0 +1,2 @@
+def foo():
+ """A dummy description."""