eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py

changeset 7900
72b88fb20261
parent 7784
3257703e10c5
child 7923
91e843545d9a
equal deleted inserted replaced
7899:ecf67e07b6e0 7900:72b88fb20261
87 """ 87 """
88 Function to extract flags starting and ending with '__' from a line 88 Function to extract flags starting and ending with '__' from a line
89 comment. 89 comment.
90 90
91 @param line line to extract flags from (string) 91 @param line line to extract flags from (string)
92 @keyparam startComment string identifying the start of the comment (string) 92 @param startComment string identifying the start of the comment (string)
93 @keyparam endComment string identifying the end of a comment (string) 93 @param endComment string identifying the end of a comment (string)
94 @keyparam flagsLine flag indicating to check for a flags only line (bool) 94 @param flagsLine flag indicating to check for a flags only line (bool)
95 @return list containing the extracted flags (list of strings) 95 @return list containing the extracted flags (list of strings)
96 """ 96 """
97 flags = [] 97 flags = []
98 98
99 if not flagsLine or ( 99 if not flagsLine or (

eric ide

mercurial