Skip to content

Commit

Permalink
38 - updated mypy, flake8, pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
crnbaker committed Nov 2, 2023
1 parent 6b7878d commit bd4d3e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/spectrumdevice/spectrum_wrapper/error_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit bd4d3e1

Please sign in to comment.