From bb331218e1b03680ed6e7d09a5e4a7c7f25f7404 Mon Sep 17 00:00:00 2001 From: Anastasia Kuporosova Date: Fri, 10 May 2024 09:12:03 +0200 Subject: [PATCH] [PyOV] Add upperbound to flake8 (#24302) ### Details: - *item1* - *...* ### Tickets: - CVS-140058 --------- Co-authored-by: Alina Kladieva Co-authored-by: Michal Lukaszewski --- .github/dependency_review.yml | 1 + src/bindings/python/requirements_test.txt | 38 +++++++++++------------ 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/.github/dependency_review.yml b/.github/dependency_review.yml index 2a33abe533ecc8..7a1b3a4386a9da 100644 --- a/.github/dependency_review.yml +++ b/.github/dependency_review.yml @@ -10,6 +10,7 @@ allow-licenses: - 'BlueOak-1.0.0' - '0BSD' - 'Python-2.0' + - 'LGPL-3.0' fail-on-scopes: - 'runtime' - 'development' diff --git a/src/bindings/python/requirements_test.txt b/src/bindings/python/requirements_test.txt index 103c1ba1730436..300cbf2e818416 100644 --- a/src/bindings/python/requirements_test.txt +++ b/src/bindings/python/requirements_test.txt @@ -2,27 +2,27 @@ numpy bandit black -flake8 -flake8-annotations-complexity -flake8-broken-line -flake8-bugbear -flake8-class-attributes-order -flake8-comprehensions -flake8-debugger -flake8-docstrings -flake8-eradicate -flake8-executable -flake8-expression-complexity -flake8-print -flake8-pytest-style -flake8-rst-docstrings +flake8<=7.0.0 +flake8-annotations-complexity<=0.0.8 +flake8-broken-line<=1.0.0 +flake8-bugbear<=24.4.26 +flake8-class-attributes-order<=0.1.3 +flake8-comprehensions<=3.14.0 +flake8-debugger<=4.1.2 +flake8-docstrings<=1.7.0 +flake8-eradicate<=1.5.0 +flake8-executable<=2.1.3 +flake8-expression-complexity<=0.0.11 +flake8-print<=5.0.0 +flake8-pytest-style<=2.0.0 +flake8-rst-docstrings<=0.3.0 pygments -flake8-string-format -flake8-variables-names +flake8-string-format<=0.3.0 +flake8-variables-names<=0.0.6 flake8_builtins<2.6.0 -flake8_coding -flake8_pep3101 -flake8_quotes +flake8_coding<=1.3.2 +flake8_pep3101<=2.1.0 +flake8_quotes<=3.4.0 mypy Pep8-naming pydocstyle