Skip to content

Commit 6d52a2d

Browse files
committed
Fix dockstring in default_config due to H402 rule
When we run pep8 tests in a root project folder, flake8 with default settings also checks .ropeproject/ folder and finds two errors there. pep8 runtests: commands[0] | flake8 ./.ropeproject/config.py:5:1: H402 one line docstring needs punctuation. ./.ropeproject/config.py:84:1: H402 one line docstring needs punctuation. So I fixed these dockstrings to avoid such confusion
1 parent f756847 commit 6d52a2d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pylibs/rope/base/default_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
def set_prefs(prefs):
5-
"""This function is called before opening the project"""
5+
"""This function is called before opening the project."""
66

77
# Specify which files and folders to ignore in the project.
88
# Changes to ignored resources are not added to the history and
@@ -81,5 +81,5 @@ def set_prefs(prefs):
8181

8282

8383
def project_opened(project):
84-
"""This function is called after opening the project"""
84+
"""This function is called after opening the project."""
8585
# Do whatever you like here!

0 commit comments

Comments
 (0)