diff --git a/Pipfile b/Pipfile index 61e86680..5bd2bd64 100644 --- a/Pipfile +++ b/Pipfile @@ -13,7 +13,7 @@ emoji = "==2.14.1" expiringdict = "==1.2.2" flake8 = "==7.3.0" flake8-annotations = "==3.2.0" -flake8-bugbear = "==24.12.12" +flake8-bugbear = "==25.10.21" flake8-docstrings-complete = "==1.4.1" flake8-modern-annotations = "==1.6.0" flake8-variables-names = "==0.0.6" diff --git a/Pipfile.lock b/Pipfile.lock index 18de648c..d5801c87 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "6145050c7ce35436c92d6c7c0fa4e710f868d0d4d8a316466c9c9382c449a9e4" + "sha256": "d14473f52608980fc1403560dbff8c7c78faed6ac4c564a7be25806a7de8a4b6" }, "pipfile-spec": 6, "requires": { @@ -499,12 +499,12 @@ }, "flake8-bugbear": { "hashes": [ - "sha256:1b6967436f65ca22a42e5373aaa6f2d87966ade9aa38d4baf2a1be550767545e", - "sha256:46273cef0a6b6ff48ca2d69e472f41420a42a46e24b2a8972e4f0d6733d12a64" + "sha256:2876afcaed8bfb3464cf33e3ec42cc3bec0a004165b84400dc3392b0547c2714", + "sha256:f1c5654f9d9d3e62e90da1f0335551fdbc565c51749713177dbcfb9edb105405" ], "index": "pypi", - "markers": "python_full_version >= '3.8.1'", - "version": "==24.12.12" + "markers": "python_version >= '3.10'", + "version": "==25.10.21" }, "flake8-docstrings-complete": { "hashes": [ diff --git a/techsupport_bot/core/custom_errors.py b/techsupport_bot/core/custom_errors.py index a1ff53e2..456b9134 100644 --- a/techsupport_bot/core/custom_errors.py +++ b/techsupport_bot/core/custom_errors.py @@ -45,6 +45,7 @@ class FactoidNotFoundError(commands.errors.CommandError): """ def __init__(self: Self, factoid: str) -> None: + super().__init__(factoid) self.dont_print_trace = True self.argument = factoid