Skip to content

Commit

Permalink
disable logging-format-interpolation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Feb 9, 2021
1 parent d1d7867 commit 149c218
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
48 changes: 24 additions & 24 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ persistent = yes
load-plugins = edx_lint.pylint,pylint_django,pylint_celery

[MESSAGES CONTROL]
enable =
enable =
blacklisted-name,
line-too-long,

abstract-class-instantiated,
abstract-method,
access-member-before-definition,
Expand Down Expand Up @@ -215,28 +215,28 @@ enable =
using-constant-test,
yield-outside-function,
zip-builtin-not-iterating,

astroid-error,
django-not-available-placeholder,
django-not-available,
fatal,
method-check-failed,
parse-error,
raw-checker-failed,

empty-docstring,
invalid-characters-in-docstring,
missing-docstring,
wrong-spelling-in-comment,
wrong-spelling-in-docstring,

unused-argument,
unused-import,
unused-variable,

eval-used,
exec-used,

bad-classmethod-argument,
bad-mcs-classmethod-argument,
bad-mcs-method-argument,
Expand All @@ -248,7 +248,6 @@ enable =
global-at-module-level,
global-variable-not-assigned,
literal-used-as-attribute,
logging-format-interpolation,
logging-not-lazy,
metaclass-assignment,
model-has-unicode,
Expand All @@ -274,31 +273,31 @@ enable =
unneeded-not,
useless-else-on-loop,
wrong-assert-type,

deprecated-method,
deprecated-module,

too-many-boolean-expressions,
too-many-nested-blocks,
too-many-statements,

wildcard-import,
wrong-import-order,
wrong-import-position,

missing-final-newline,
mixed-indentation,
mixed-line-endings,
trailing-newlines,
trailing-whitespace,
unexpected-line-ending-format,

bad-inline-option,
bad-option-value,
deprecated-pragma,
unrecognized-inline-option,
useless-suppression,

cmp-method,
coerce-method,
delslice-method,
Expand All @@ -315,7 +314,7 @@ enable =
rdiv-method,
setslice-method,
using-cmp-argument,
disable =
disable =
bad-continuation,
bad-indentation,
duplicate-code,
Expand All @@ -342,10 +341,10 @@ disable =
too-many-return-statements,
ungrouped-imports,
unused-wildcard-import,

feature-toggle-needs-doc,
illegal-waffle-usage,

apply-builtin,
backtick,
bad-python3-import,
Expand Down Expand Up @@ -383,7 +382,7 @@ disable =
unicode-builtin,
unpacking-in-except,
xrange-builtin,

logging-fstring-interpolation,
native-string,
import-outside-toplevel,
Expand All @@ -393,6 +392,7 @@ disable =
useless-object-inheritance,
useless-suppression,
cyclic-import,
logging-format-interpolation,

[REPORTS]
output-format = text
Expand Down Expand Up @@ -438,7 +438,7 @@ ignore-imports = no
ignore-mixin-members = yes
ignored-classes = SQLObject
unsafe-load-any-extension = yes
generated-members =
generated-members =
REQUEST,
acl_users,
aq_parent,
Expand All @@ -464,7 +464,7 @@ generated-members =
[VARIABLES]
init-import = no
dummy-variables-rgx = _|dummy|unused|.*_unused
additional-builtins =
additional-builtins =

[CLASSES]
defining-attr-methods = __init__,__new__,setUp
Expand All @@ -485,11 +485,11 @@ max-public-methods = 20

[IMPORTS]
deprecated-modules = regsub,TERMIOS,Bastion,rexec
import-graph =
ext-import-graph =
int-import-graph =
import-graph =
ext-import-graph =
int-import-graph =

[EXCEPTIONS]
overgeneral-exceptions = Exception

# 6d9127c8d4b551af88b2a1f3a9b2642a3a853452
# 63eee6a406604bde1c7e8e5cbdddcd7f173ccdef
1 change: 1 addition & 0 deletions pylintrc_tweaks
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ disable+ =
useless-object-inheritance,
useless-suppression,
cyclic-import,
logging-format-interpolation,

[BASIC]
attr-rgx = [a-z_][a-z0-9_]{2,40}$
Expand Down

0 comments on commit 149c218

Please sign in to comment.