src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/translations.py

branch
eric7
changeset 11141
2f5f73c51c7c
parent 11090
f5f5f5803935
child 11145
d328a7b74fd8
equal deleted inserted replaced
11140:b823386f7591 11141:2f5f73c51c7c
152 "SimplifyChecker", """Use keyword-argument instead of magic boolean""" 152 "SimplifyChecker", """Use keyword-argument instead of magic boolean"""
153 ), 153 ),
154 "Y402": QCoreApplication.translate( 154 "Y402": QCoreApplication.translate(
155 "SimplifyChecker", """Use keyword-argument instead of magic number""" 155 "SimplifyChecker", """Use keyword-argument instead of magic number"""
156 ), 156 ),
157 # f-Strings
158 "Y411": QCoreApplication.translate(
159 "SimplifyChecker", "Do not nest f-strings"
160 ),
161 # Additional Checks
157 "Y901": QCoreApplication.translate( 162 "Y901": QCoreApplication.translate(
158 "SimplifyChecker", '''Use "{0}" instead of "{1}"''' 163 "SimplifyChecker", '''Use "{0}" instead of "{1}"'''
159 ), 164 ),
160 "Y904": QCoreApplication.translate( 165 "Y904": QCoreApplication.translate(
161 "SimplifyChecker", """Initialize dictionary "{0}" directly""" 166 "SimplifyChecker", """Initialize dictionary "{0}" directly"""

eric ide

mercurial