@@ -46,3 +46,116 @@ verl = [
4646 " version/*" ,
4747 " trainer/config/*.yaml"
4848]
49+
50+
51+ [tool .pylint .message_control ]
52+ disable = [
53+ " abstract-method" ,
54+ " anomalous-backslash-in-string" ,
55+ " arguments-differ" ,
56+ " arguments-renamed" ,
57+ " assignment-from-none" ,
58+ " attribute-defined-outside-init" ,
59+ " bad-str-strip-call" ,
60+ " bare-except" ,
61+ " broad-exception-caught" ,
62+ " broad-exception-raised" ,
63+ " cell-var-from-loop" ,
64+ " chained-comparison" ,
65+ " consider-iterating-dictionary" ,
66+ " consider-using-enumerate" ,
67+ " consider-using-f-string" ,
68+ " consider-using-from-import" ,
69+ " consider-using-generator" ,
70+ " consider-using-in" ,
71+ " consider-using-max-builtin" ,
72+ " consider-using-set-comprehension" ,
73+ " consider-using-sys-exit" ,
74+ " consider-using-with" ,
75+ " cyclic-import" ,
76+ " dangerous-default-value" ,
77+ " duplicate-code" ,
78+ " eval-used" ,
79+ " expression-not-assigned" ,
80+ " f-string-without-interpolation" ,
81+ " fixme" ,
82+ " function-redefined" ,
83+ " global-statement" ,
84+ " global-variable-not-assigned" ,
85+ " import-error" ,
86+ " import-outside-toplevel" ,
87+ " import-self" ,
88+ " inconsistent-return-statements" ,
89+ " invalid-character-zero-width-space" ,
90+ " invalid-name" ,
91+ " line-too-long" ,
92+ " logging-fstring-interpolation" ,
93+ " logging-not-lazy" ,
94+ " missing-class-docstring" ,
95+ " missing-final-newline" ,
96+ " missing-function-docstring" ,
97+ " missing-module-docstring" ,
98+ " multiple-imports" ,
99+ " no-else-continue" ,
100+ " no-else-raise" ,
101+ " no-else-return" ,
102+ " no-member" ,
103+ " no-self-argument" ,
104+ " no-value-for-parameter" ,
105+ " not-an-iterable" ,
106+ " not-callable" ,
107+ " notimplemented-raised" ,
108+ " pointless-exception-statement" ,
109+ " pointless-string-statement" ,
110+ " pointless-statement" ,
111+ " possibly-used-before-assignment" ,
112+ " protected-access" ,
113+ " raise-missing-from" ,
114+ " raising-format-tuple" ,
115+ " redefined-argument-from-local" ,
116+ " redefined-builtin" ,
117+ " redefined-outer-name" ,
118+ " redundant-u-string-prefix" ,
119+ " reimported" ,
120+ " simplifiable-if-expression" ,
121+ " simplifiable-if-statement" ,
122+ " singleton-comparison" ,
123+ " super-init-not-called" ,
124+ " superfluous-parens" ,
125+ " too-few-public-methods" ,
126+ " too-many-arguments" ,
127+ " too-many-boolean-expressions" ,
128+ " too-many-branches" ,
129+ " too-many-instance-attributes" ,
130+ " too-many-lines" ,
131+ " too-many-locals" ,
132+ " too-many-positional-arguments" ,
133+ " too-many-return-statements" ,
134+ " too-many-statements" ,
135+ " trailing-newlines" ,
136+ " trailing-newlines" ,
137+ " trailing-whitespace" ,
138+ " unbalanced-tuple-unpacking" ,
139+ " undefined-loop-variable" ,
140+ " undefined-variable" ,
141+ " ungrouped-imports" ,
142+ " unidiomatic-typecheck" ,
143+ " unnecessary-comprehension" ,
144+ " unnecessary-lambda" ,
145+ " unnecessary-lambda-assignment" ,
146+ " unnecessary-pass" ,
147+ " unspecified-encoding" ,
148+ " unused-argument" ,
149+ " unused-import" ,
150+ " unused-variable" ,
151+ " unused-wildcard-import" ,
152+ " use-a-generator" ,
153+ " use-dict-literal" ,
154+ " used-before-assignment" ,
155+ " useless-object-inheritance" ,
156+ " useless-parent-delegation" ,
157+ " useless-return" ,
158+ " wildcard-import" ,
159+ " wrong-import-order" ,
160+ " wrong-import-position" ,
161+ ]
0 commit comments