Skip to content

Commit

Permalink
pylint refactorings
Browse files Browse the repository at this point in the history
  • Loading branch information
DGrothe-PhD committed Sep 17, 2024
1 parent a479306 commit f9bc5e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ method-naming-style=camelCase
variable-naming-style=camelCase
class-naming-style=PascalCase
module-naming-style=camelCase
argument-naming-style=camelCase
constant-naming-style=camelCase

disable=missing-final-newline,
missing-module-docstring,
Expand Down
5 changes: 3 additions & 2 deletions videoText.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

# pylint: disable=R0903
# pylint: disable=broad-except
# pylint: disable=too-many-instance-attributes

class VideoTextUtils:
"""general settings for videotext"""
pageNotAccessible = "Diese Seite kann nicht angezeigt werden."
Expand Down Expand Up @@ -171,7 +173,7 @@ def extractAndPreparePage(self, page: int, sub=1):
self.extractPage(page, sub)
self.appendContent()
self.extractJumpingPages()

#
def hasTopicPage(self, topicChar):
"""Returns true if there is a topic page which is referenced by the character `topicChar`.
"""
Expand All @@ -180,7 +182,6 @@ def hasTopicPage(self, topicChar):
except AttributeError:
return False
#

def browseTopicPage(self, topicChar):
"""Opens the topic page which is referenced by the character `topicChar`.
If that page does not exist, opens page 100.
Expand Down

0 comments on commit f9bc5e5

Please sign in to comment.