pyronear / pyro-platform

Detection & monitoring platform of wildfires
https://platform.pyronear.org/
Apache License 2.0
10 stars 10 forks source link

Fix mypy #135

Closed MateoLostanlen closed 1 month ago

MateoLostanlen commented 7 months ago

We got the following mypy error:

mypy 1.6.1 (compiled: yes) app/app.py: error: Source file found twice under different module names: "app" and "app.app" app/app.py: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules for more info app/app.py: note: Common resolutions include: a) adding __init__.py somewhere, b) using --explicit-package-bases or adjusting MYPYPATH Found 1 error in 1 file (errors prevented further checking)