Enabled mypy warn_unreachable

This commit is contained in:
Kristofers Solo 2022-12-11 17:47:09 +02:00
parent 939501896c
commit 56f92ece02
4 changed files with 7 additions and 5 deletions

View File

@ -17,5 +17,5 @@ show_error_codes = true
strict_equality = true strict_equality = true
warn_redundant_casts = true warn_redundant_casts = true
warn_return_any = true warn_return_any = true
warn_unreachable = false warn_unreachable = true
warn_unused_configs = true warn_unused_configs = true

View File

@ -1,4 +1,5 @@
loguru==0.6.0
matplotlib==3.6.2 matplotlib==3.6.2
opencv-python==4.6.0.66 opencv-python==4.6.0.66
tensorflow==2.11.0
scipy==1.9.3 scipy==1.9.3
tensorflow==2.11.0

View File

@ -1,5 +1,5 @@
flake8==6.0.0 flake8==6.0.0
mypy==0.991 mypy==0.991
pytest==7.2.0
pytest-cov==4.0.0 pytest-cov==4.0.0
pytest==7.2.0
tox==3.27.1 tox==3.27.1

View File

@ -11,10 +11,11 @@ classifiers =
[options] [options]
packages = detector packages = detector
install_requires = install_requires =
loguru>=0.6.0
matplotlib>=3.6.2 matplotlib>=3.6.2
opencv-python>=4.6.0.66 opencv-python>=4.6.0.66
tensorflow>=2.11.0
scipy>=1.9.3 scipy>=1.9.3
tensorflow>=2.11.0
python_requires = >=3.10 python_requires = >=3.10
package_dir = =src package_dir = =src
@ -24,8 +25,8 @@ zip_safe = no
testing = testing =
flake8>=6.0.0 flake8>=6.0.0
mypy>=0.991 mypy>=0.991
pytest>=7.2.0
pytest-cov>=4.0.0 pytest-cov>=4.0.0
pytest>=7.2.0
tox>=3.27.1 tox>=3.27.1
[options.package_data] [options.package_data]