summaryrefslogtreecommitdiff
path: root/doc/data/messages/i/invalid-name/good.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2022-05-23 12:47:09 +0200
committerGitHub <noreply@github.com>2022-05-23 12:47:09 +0200
commitef40b99ff5348bc72649a70dc48968568a4ea5b3 (patch)
treed2f7606a4bf835d2d2e4da43400ed31cd7eb55d1 /doc/data/messages/i/invalid-name/good.py
parent7049e77c43d8d4bba6f40145946bada735df68c6 (diff)
downloadpylint-git-ef40b99ff5348bc72649a70dc48968568a4ea5b3.tar.gz
[doc] Move the naming-style documentation to invalid-name doc (#6669)
Add a '.gitkeep' in user_guide/configuration In order for the directory to exists so pylint_options do not need to create the directory.
Diffstat (limited to 'doc/data/messages/i/invalid-name/good.py')
-rw-r--r--doc/data/messages/i/invalid-name/good.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/data/messages/i/invalid-name/good.py b/doc/data/messages/i/invalid-name/good.py
new file mode 100644
index 000000000..3decdb3e4
--- /dev/null
+++ b/doc/data/messages/i/invalid-name/good.py
@@ -0,0 +1,8 @@
+class Cat:
+
+ def meow(self, number_of_meow):
+ print("Meow" * number_of_meow)
+ return number_of_meow
+
+
+CAT = Cat().meow(42)