Allow mypy client-server communication via TCP sockets
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 20.6k
- Fork
- 3.3k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
Feature
It would be useful to allow the user to define a custom TPC host:port pair and have the client communicate with a remote mypy server listening to that address.
mypy already uses a client-server architecture with the server being a daemon running in the same process space and communicating with the client via UNIX sockets (named pipes in win32) so this would not require large changes AFAIK.
Pitch
This feature would enable developers using Docker to run a mypy server inside the container, but be able to call the mypy command from the host machine just as easily as when everything runs in the same host.
This would make mypy functional to several existing editor and IDE integrations, as the call is transparently routed to the server inside the container.
Guida per i contributori
Apri la guida per i contributori
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.
Direzione di ricerca
Inizia tracciando la comunicazione client-server esistente di mypy tramite UNIX sockets o Windows named pipes. Determina dove verrebbe configurato un TCP host:port personalizzato e come dovrebbe funzionare la connessione al server remoto, incluso il caso d’uso con Docker. Il lavoro è completato quando il client può comunicare con un server mypy remoto mentre la comunicazione locale esistente continua a funzionare.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- backend, cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100