Skip to content

Commit 502fd4b

Browse files
Fix the period added in docstring automatically by mistake
Due to DanielNoord/pydocstringformatter#52
1 parent 595ec42 commit 502fd4b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ repos:
9696
args: [--prose-wrap=always, --print-width=88]
9797
exclude: tests(/.*)*/data
9898
- repo: https://github.com/DanielNoord/pydocstringformatter
99-
rev: v0.4.0
99+
rev: a9f94bf13b08fe33f784ed7f0a0fc39e2a8549e2
100100
hooks:
101101
- id: pydocstringformatter
102102
exclude: *fixtures

pylint/checkers/format.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ def _prepare_token_dispatcher(self):
471471
return dispatch
472472

473473
def process_tokens(self, tokens):
474-
"""Process tokens and search for :.
474+
"""Process tokens and search for :
475475
476476
_ too long lines (i.e. longer than <max_chars>)
477477
_ optionally bad construct (if given, bad_construct must be a compiled

pylint/lint/run.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def cb_init_hook(optname, value):
5555

5656

5757
class Run:
58-
"""Helper class to use as main for pylint :.
58+
"""Helper class to use as main for pylint :
5959
6060
run(*sys.argv[1:])
6161
"""

pylint/pyreverse/diadefslib.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def extract_classes(self, klass_node, anc_level, association_level):
126126

127127

128128
class DefaultDiadefGenerator(LocalsVisitor, DiaDefGenerator):
129-
"""Generate minimum diagram definition for the project :.
129+
"""Generate minimum diagram definition for the project :
130130
131131
* a package diagram including project's modules
132132
* a class diagram including project's classes
@@ -210,7 +210,7 @@ def class_diagram(self, project, klass):
210210

211211

212212
class DiadefsHandler:
213-
"""Handle diagram definitions :.
213+
"""Handle diagram definitions :
214214
215215
get it from user (i.e. xml files) or generate them
216216
"""

0 commit comments

Comments
 (0)