diff --git a/ironic/hacking/checks.py b/ironic/hacking/checks.py index 3cdd4c07fb..b502af02b1 100644 --- a/ironic/hacking/checks.py +++ b/ironic/hacking/checks.py @@ -14,7 +14,7 @@ import re -# D703: Found use of _() without explicit import of _! +# N323: Found use of _() without explicit import of _! UNDERSCORE_IMPORT_FILES = [] @@ -48,7 +48,7 @@ def check_explicit_underscore_import(logical_line, filename): UNDERSCORE_IMPORT_FILES.append(filename) elif (translated_log.match(logical_line) or string_translation.match(logical_line)): - yield(0, "D703: Found use of _() without explicit import of _!") + yield(0, "N323: Found use of _() without explicit import of _!") def factory(register):