blob: cb0f96f96c2a7e050ca4aa0f1f56930b5741574d (
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
25
26
27
28
29
30
31
32
|
"""Checks of Dosctrings 'bad-docstring-quotes'"""
# pylint: disable=docstring-first-line-empty,missing-class-docstring, undefined-variable
class FFFF:
def method1(self): # [bad-docstring-quotes]
'''
Test Triple Single Quotes docstring
'''
def method2(self): # [bad-docstring-quotes]
"bad docstring 1"
def method3(self): # [bad-docstring-quotes]
'bad docstring 2'
def method4(self): # [bad-docstring-quotes]
' """bad docstring 3 '
@check_messages("bad-open-mode", "redundant-unittest-assert", "deprecated-module")
def method5(self):
"""Test OK 1 with decorators"""
def method6(self):
r"""Test OK 2 with raw string"""
def method7(self):
u"""Test OK 3 with unicode string"""
def function2():
"""Test Ok"""
|