src/eric7/QScintilla/Lexers/LexerTeX.py

branch
eric7
changeset 10683
779cda568acb
parent 10439
21c28b0f9e41
child 10692
9becf9ca115c
--- a/src/eric7/QScintilla/Lexers/LexerTeX.py	Tue Apr 16 15:47:11 2024 +0200
+++ b/src/eric7/QScintilla/Lexers/LexerTeX.py	Sat Apr 20 18:01:36 2024 +0200
@@ -54,11 +54,11 @@
             self.setProcessComments(Preferences.getEditor("TexProcessComments"))
             self.setProcessIf(Preferences.getEditor("TexProcessIf"))
 
-    def isCommentStyle(self, style):  # noqa: U100
+    def isCommentStyle(self, _style):
         """
         Public method to check, if a style is a comment style.
 
-        @param style style to check
+        @param _style style to check (unused)
         @type int
         @return flag indicating a comment style
         @rtype bool
@@ -226,7 +226,7 @@
     """
     Function to instantiate a lexer object.
 
-    @param variant name of the language variant
+    @param variant name of the language variant (unused)
     @type str
     @param parent parent widget of this lexer
     @type QObject

eric ide

mercurial