Skip to content

Commit

Permalink
Merge pull request #141 from edx/tuchfarber/ignore_f_string_logging
Browse files Browse the repository at this point in the history
Ignore f-string logging
  • Loading branch information
tuchfarber authored Feb 4, 2021
2 parents f4e19d7 + 3abf086 commit e50b6ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions edx_lint/files/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,9 @@ disable=
unpacking-in-except,
xrange-builtin,

# We want to allow developers to use f-strings for readability
logging-fstring-interpolation,

[REPORTS]

# Set the output format. Available formats are text, parseable, colorized, msvs
Expand Down
6 changes: 4 additions & 2 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
# SERIOUSLY.
#
# ------------------------------
# Generated by edx-lint version: 1.6
# Generated by edx-lint version: 4.0.0
# ------------------------------
[MASTER]
ignore = ,input
Expand Down Expand Up @@ -383,6 +383,8 @@ disable =
unicode-builtin,
unpacking-in-except,
xrange-builtin,

logging-fstring-interpolation,

[REPORTS]
output-format = text
Expand Down Expand Up @@ -482,4 +484,4 @@ int-import-graph =
[EXCEPTIONS]
overgeneral-exceptions = Exception

# f36db2115c8cee926997a3ef62158d69f3ad2411
# 9d586a50bdaf78addf899c9e92b44cdcce3e9d84

0 comments on commit e50b6ba

Please sign in to comment.