Skip to content

Commit 146f558

Browse files
committed
chore: bump bugbearer & fix some findings
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent e29b825 commit 146f558

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ ddt = "1.7.0"
8585
coverage = "7.3.2"
8686
flake8 = { version="6.1.0", python=">=3.8.1" }
8787
flake8-annotations = { version="3.0.1", python=">=3.8.1" }
88-
flake8-bugbear = { version="23.11.28", python=">=3.8.1" }
88+
flake8-bugbear = { version="23.12.2", python=">=3.8.1" }
8989
flake8-isort = "6.1.1"
9090
flake8-quotes = "3.3.2"
9191
flake8-use-fstring = "1.4"

tests/test_model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,8 @@ def test_issue_type(self) -> None:
330330
XsUri('https://central.sonatype.org/news/20211213_log4shell_help')
331331
]
332332
)
333-
self.assertEqual(it.type, IssueClassification.SECURITY),
334-
self.assertEqual(it.id, 'CVE-2021-44228'),
333+
self.assertEqual(it.type, IssueClassification.SECURITY)
334+
self.assertEqual(it.id, 'CVE-2021-44228')
335335
self.assertEqual(it.name, 'Apache Log3Shell')
336336
self.assertEqual(
337337
it.description,
@@ -344,7 +344,7 @@ def test_issue_type(self) -> None:
344344
'is specific to log4j-core and does not affect log4net, log4cxx, or other Apache Logging '
345345
'Services projects.'
346346
)
347-
self.assertEqual(it.source.name, 'NVD'),
347+
self.assertEqual(it.source.name, 'NVD')
348348
self.assertEqual(it.source.url, XsUri('https://nvd.nist.gov/vuln/detail/CVE-2021-44228'))
349349
self.assertSetEqual(it.references, {
350350
XsUri('https://logging.apache.org/log4j/2.x/security.html'),

0 commit comments

Comments
 (0)