Cannot set MYPYPATH
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- developer-experience, tooling
Direzione di ricerca
Inizia dal README e analizza come il plugin invoca mypy e gestisce la configurazione mypy.ini nella radice del progetto. Verifica se MYPYPATH o mypy_path viene passato, quindi conferma che la configurazione scelta funzioni per import come botocore.vendored quando si usa --follow-imports silent.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Thanks for this plugin - it's nice to have this running constantly inside PyCharm.
There may be a way to do this, but it's not in the README as far as I could tell, so I thought I'd bring this up.
For those of us who want to use types that exist outside our current project, it is nice to be able to --follow-imports silent. However this just leads to handler.py:2: error: Cannot find module named 'botocore.vendored' or whatever the module is.
When running from the command line, I can just add my VENV site-packages dir to the environment variable MYPYPATH and everything works great. However I'm not sure how to usefully define an env var for this plugin. More importantly, it really needs to be something that the plugin can figure out based on some kind of config file, e.g. the mypy.ini config file in the project root. However, setting mypy_path inside that config file does not seem to get picked up by this plugin.
Any thoughts on how to make this work properly?
- Lingua principale
- Java
- Stelle
- 319
- Fork
- 16
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di dropbox/mypy-PyCharm-plugin
-
Very slow on large projectsAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
dropbox/mypy-PyCharm-plugin#56 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
dropbox/mypy-PyCharm-plugin#55 · 1 commento ·
-
enhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
dropbox/mypy-PyCharm-plugin#53 · 3 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
dropbox/mypy-PyCharm-plugin#52 · 1 commento · 5 reazioni ·
Tutte le issue di dropbox/mypy-PyCharm-plugin
Issue simili
-
status: waiting-for-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
spring-projects/spring-ai#7206 ·
I maintainer di solito rispondono entro 2 giorni
-
bug ci sev-6
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
-
area/cli
Difficoltà 2/5 Mezza giornata Idoneità per principianti 78/100
quarkusio/quarkus#57623 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
jhipster/prettier-java#1113 ·
I maintainer di solito rispondono entro 2 giorni
-
bug follow-up lane:backlog
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Sanne/incus-spawn#1576 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno