peterjc / thapbi-pict

Tree Health and Plant Biosecurity Initiative - Phytophthora ITS1 Classifier Tool
https://thapbi-pict.readthedocs.io/
MIT License
8 stars 2 forks source link

[pre-commit.ci] autoupdate #623

Closed pre-commit-ci[bot] closed 2 months ago

pre-commit-ci[bot] commented 2 months ago

updates:

peterjc commented 2 months ago

New mypy failure:

mypy.....................................................................Failed
- hook id: mypy
- exit code: 1

thapbi_pict/db_import.py: note: In function "import_fasta_file":
thapbi_pict/db_import.py:531:5: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
thapbi_pict/db_import.py:532:5: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
thapbi_pict/db_import.py:533:5: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
thapbi_pict/db_import.py:534:5: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
thapbi_pict/classify.py: note: In function "method_dist":
thapbi_pict/classify.py:391:9: error: No return value expected  [return-value]
            return {}
            ^~~~~~~~~
Found 1 error in 1 file (checked 30 source files)