eric6/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/SimplifyChecker.py

changeset 8211
8322a6f219ff
parent 8210
b5903eaa7a7b
child 8216
6a042a54e0f7
equal deleted inserted replaced
8210:b5903eaa7a7b 8211:8322a6f219ff
19 """ 19 """
20 Codes = [ 20 Codes = [
21 # Python-specifics 21 # Python-specifics
22 "Y101", "Y102", "Y103", "Y104", "Y105", "Y106", "Y107", "Y108", 22 "Y101", "Y102", "Y103", "Y104", "Y105", "Y106", "Y107", "Y108",
23 "Y109", "Y110", "Y111", "Y112", "Y113", "Y114", "Y115", "Y116", 23 "Y109", "Y110", "Y111", "Y112", "Y113", "Y114", "Y115", "Y116",
24 "Y117", "Y118", "Y119", "Y120", "Y121", 24 "Y117", "Y118", "Y119", "Y120", "Y121", "Y122",
25 25
26 # Python-specifics not part of flake8-simplify 26 # Python-specifics not part of flake8-simplify
27 "Y181", "Y182", 27 "Y181", "Y182",
28 28
29 # Comparations 29 # Comparations
31 "Y211", "Y212", "Y213", 31 "Y211", "Y212", "Y213",
32 "Y221", "Y222", "Y223", "Y224", 32 "Y221", "Y222", "Y223", "Y224",
33 33
34 # Opinionated 34 # Opinionated
35 "Y301", 35 "Y301",
36
37 # General Code Style
38 "Y401", "Y402",
36 ] 39 ]
37 40
38 def __init__(self, source, filename, tree, selected, ignored, expected, 41 def __init__(self, source, filename, tree, selected, ignored, expected,
39 repeat): 42 repeat):
40 """ 43 """

eric ide

mercurial