Skip to content

Commit 7be6264

Browse files
committed
Update pylint.conf
Signed-off-by: shiyu22 <[email protected]>
1 parent f1ece8d commit 7be6264

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

pylint.conf

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ignore-paths=
99

1010
# Files or directories matching the regex patterns are skipped. The regex
1111
# matches against base names, not paths.
12-
ignore-patterns=
12+
ignore-patterns=.*yolo_infer.py,.*paddle_yolo.py
1313

1414
# Python code to execute, usually for sys.path manipulation such as
1515
# pygtk.require().
@@ -157,6 +157,10 @@ disable=abstract-method,
157157
zip-builtin-not-iterating,
158158
missing-module-docstring,
159159
super-init-not-called,
160+
wrong-import-position,
161+
bare-except,
162+
logging-fstring-interpolation,
163+
logging-format-interpolation,
160164

161165

162166
[REPORTS]
@@ -388,7 +392,7 @@ argument-naming-style=snake_case
388392
#argument-rgx=
389393

390394
# Naming style matching correct attribute names.
391-
attr-naming-style=snake_case
395+
attr-naming-style=any
392396

393397
# Regular expression matching correct attribute names. Overrides attr-naming-
394398
# style.
@@ -468,7 +472,7 @@ inlinevar-naming-style=any
468472
#inlinevar-rgx=
469473

470474
# Naming style matching correct method names.
471-
method-naming-style=snake_case
475+
method-naming-style=any
472476

473477
# Regular expression matching correct method names. Overrides method-naming-
474478
# style.

0 commit comments

Comments
 (0)