diff --git a/src/bindings/python/requirements_test.txt b/src/bindings/python/requirements_test.txt index 539feaa2f12..62320649b6a 100644 --- a/src/bindings/python/requirements_test.txt +++ b/src/bindings/python/requirements_test.txt @@ -21,7 +21,7 @@ flake8-rst-docstrings pygments flake8-string-format flake8-variables-names -flake8_builtins<2.2.0 # Issue 124276 +flake8_builtins<2.3.0 flake8_coding flake8_commas flake8_pep3101 diff --git a/src/bindings/python/setup.cfg b/src/bindings/python/setup.cfg index b9b15ef0ca1..5ea6fe46cd5 100644 --- a/src/bindings/python/setup.cfg +++ b/src/bindings/python/setup.cfg @@ -35,6 +35,7 @@ deps = -rrequirements.txt # ignore: # A001 variable "var_name" is shadowing a python builtin # A002 argument "..." is shadowing a python builtin +# A004 import statement "..."" is shadowing a Python builtin # CCE001 ClassName.method1 should be after ClassName.method2 # D100 - Missing docstring in public module # D101 - Missing docstring in public class @@ -57,7 +58,7 @@ deps = -rrequirements.txt # VNE003 - variable names that shadow builtins are not allowed # F401 - module imported but unused -ignore=A001,A002,CCE001,D100,D101,D102,D103,D104,D105,D107,D412,E402,F401,N803,RST301,TAE002,T001,W503,PT007,PT012 +ignore=A001,A002,A004,CCE001,D100,D101,D102,D103,D104,D105,D107,D412,E402,F401,N803,RST301,TAE002,T001,W503,PT007,PT012 inline-quotes = double filename = *.py max-line-length = 160