LAION-AI / LAION-AI/Open-Assistant
Duplicate module named `env` (also at `.\backend\alembic\env.py`) | mypy
Open
Nobody has claimed this yet.
backend
- Dominant language
- Python
- Stars
- 37.4k
- Forks
- 3.3k
- PR merge metrics
- No merged PRs in 30d
Description
Common resolutions include: a) using --exclude to avoid checking one of them, b) adding __init__.py somewhere, c) using --explicit-package-bases or adjusting MYPYPATH | mypy
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the mypy configuration or invocation and compare the module paths for env.py and backend/alembic/env.py. Reproduce the duplicate-module error, then verify that the chosen configuration lets mypy run without reporting both files as the same module.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100