From 7903cf3c3b54ff430698b9008cc95dec0e484eb6 Mon Sep 17 00:00:00 2001 From: Dennis Siemensma Date: Tue, 2 Jan 2024 19:03:30 +0100 Subject: [PATCH] Fix flake8-bandit --- dsmrreader/provisioning/requirements/dev.txt | 2 +- poetry.lock | 26 ++++---------------- pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 23 deletions(-) diff --git a/dsmrreader/provisioning/requirements/dev.txt b/dsmrreader/provisioning/requirements/dev.txt index 62f9c947..a78a5b2f 100644 --- a/dsmrreader/provisioning/requirements/dev.txt +++ b/dsmrreader/provisioning/requirements/dev.txt @@ -1,4 +1,4 @@ -flake8-bandit==3.0.0 +flake8-bandit==4.1.1 flake8-black==0.3.6 flake8-bugbear==23.3.12 flake8==5.0.4 diff --git a/poetry.lock b/poetry.lock index 4158eba2..3311e1e1 100644 --- a/poetry.lock +++ b/poetry.lock @@ -627,20 +627,18 @@ pyflakes = ">=2.5.0,<2.6.0" [[package]] name = "flake8-bandit" -version = "3.0.0" +version = "4.1.1" description = "Automated security testing with bandit and flake8." optional = false python-versions = ">=3.6" files = [ - {file = "flake8_bandit-3.0.0-py2.py3-none-any.whl", hash = "sha256:61b617f4f7cdaa0e2b1e6bf7b68afb2b619a227bb3e3ae00dd36c213bd17900a"}, - {file = "flake8_bandit-3.0.0.tar.gz", hash = "sha256:54d19427e6a8d50322a7b02e1841c0a7c22d856975f3459803320e0e18e2d6a1"}, + {file = "flake8_bandit-4.1.1-py3-none-any.whl", hash = "sha256:4c8a53eb48f23d4ef1e59293657181a3c989d0077c9952717e98a0eace43e06d"}, + {file = "flake8_bandit-4.1.1.tar.gz", hash = "sha256:068e09287189cbfd7f986e92605adea2067630b75380c6b5733dab7d87f9a84e"}, ] [package.dependencies] bandit = ">=1.7.3" -flake8 = "*" -flake8-polyfill = "*" -pycodestyle = "*" +flake8 = ">=5.0.0" [[package]] name = "flake8-black" @@ -679,20 +677,6 @@ flake8 = ">=3.0.0" [package.extras] dev = ["coverage", "hypothesis", "hypothesmith (>=0.2)", "pre-commit", "pytest", "tox"] -[[package]] -name = "flake8-polyfill" -version = "1.0.2" -description = "Polyfill package for Flake8 plugins" -optional = false -python-versions = "*" -files = [ - {file = "flake8-polyfill-1.0.2.tar.gz", hash = "sha256:e44b087597f6da52ec6393a709e7108b2905317d0c0b744cdca6208e670d8eda"}, - {file = "flake8_polyfill-1.0.2-py2.py3-none-any.whl", hash = "sha256:12be6a34ee3ab795b19ca73505e7b55826d5f6ad7230d31b18e106400169b9e9"}, -] - -[package.dependencies] -flake8 = "*" - [[package]] name = "gitdb" version = "4.0.11" @@ -2288,4 +2272,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more [metadata] lock-version = "2.0" python-versions = "^3.7" -content-hash = "8f82b662561643507cf492601dbfd99090d9c2e7f1eafe944ac0f16eef411c7a" +content-hash = "34ca002283fbfeb1f65a8c3ccb5294d20e2aceff1e603a9d37f159fb196bece8" diff --git a/pyproject.toml b/pyproject.toml index 58cc0253..89b17096 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ deprecated = "^1.0" [tool.poetry.dev-dependencies] flake8 = "^5.0" -flake8-bandit = "^3.0" +flake8-bandit = "^4.0" flake8-black = "^0.3" flake8-bugbear = "^23.0" polib = "^1.2"