diff --git a/setup.cfg b/setup.cfg index e4fe265..bd93c6b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -49,12 +49,12 @@ test=pytest [options.extras_require] test = - pytest == 6.2.5 + pytest == 7.4.3 dev = - flake8 == 4.0 - flake8-bugbear == 21.9.2 + flake8 == 6.1.0 + flake8-bugbear == 23.9.16 black == 22.3.0 - mypy == 1.3.0 + mypy == 1.6.1 types-setuptools == 67.8.0.0 doc = pdoc == 8.0.1 diff --git a/src/spectrumdevice/spectrum_wrapper/error_handler.py b/src/spectrumdevice/spectrum_wrapper/error_handler.py index ec528da..276fa59 100644 --- a/src/spectrumdevice/spectrum_wrapper/error_handler.py +++ b/src/spectrumdevice/spectrum_wrapper/error_handler.py @@ -22,7 +22,7 @@ def _parse_errors_table() -> Dict[int, str]: errors: Dict[int, str] = {} - errors_file = resources.files(__name__) / 'spectrum_errors.csv' + errors_file = resources.files(__name__) / "spectrum_errors.csv" with resources.as_file(errors_file) as file_path: with open(file_path) as f: for line in f.readlines():