famous-kilobyte-26155
06/06/2023, 11:27 PMcommon/src/python
common/test/python
directory_pull/src/docker
directory_pull/src/python
directory_pull/test/python
mypy-stubs/src/python
project_management/src/docker
project_management/src/python
project_management/test/python
Each project has the same code structure within the src/python
directory. So, there is a run.py
in each of directory_pull/src/python
and project_management/src/python
Everything works fine within each project, but when I run pants check ::
mypy complains about duplicate modules across the projects.
If I add a directory above run.py
like directory_pull/src/python/directory_pull
then there is no error.
I’m curious what is going on with my original organization that yields this behavior, and whether there is an alternative solution to the slight reorganizationenough-analyst-54434
06/06/2023, 11:53 PMenough-analyst-54434
06/06/2023, 11:59 PMrun.py
.enough-analyst-54434
06/07/2023, 12:00 AMfamous-kilobyte-26155
06/07/2023, 2:29 PM