mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 19:55:27 +02:00
mypy: add Spanish translation (#13216)
* mypy: add Spanish translation * Update mypy.md
This commit is contained in:
parent
07452b5bfe
commit
5089c229f7
1 changed files with 36 additions and 0 deletions
36
pages.es/common/mypy.md
Normal file
36
pages.es/common/mypy.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
# mypy
|
||||
|
||||
> Verificación de código Python.
|
||||
> Más información: <https://mypy.readthedocs.io/en/stable/running_mypy.html>.
|
||||
|
||||
- Comprueba un archivo específico:
|
||||
|
||||
`mypy {{ruta/al/archivo.py}}`
|
||||
|
||||
- Comprueba un [m]ódulo específico:
|
||||
|
||||
`mypy -m {{nombre_del_módulo}}`
|
||||
|
||||
- Comprueba un [p]aquete específico:
|
||||
|
||||
`mypy -p {{nombre_del_paquete}}`
|
||||
|
||||
- Comprueba una cadena de código:
|
||||
|
||||
`mypy -c "{{código}}"`
|
||||
|
||||
- Ignora importaciones faltantes:
|
||||
|
||||
`mypy --ignore-missing-imports {{ruta/al_archivo_o_directorio}}`
|
||||
|
||||
- Muestra mensajes de error detallados:
|
||||
|
||||
`mypy --show-traceback {{ruta/al/archivo_o_directorio}}`
|
||||
|
||||
- Especifica un archivo de configuración personalizado:
|
||||
|
||||
`mypy --config-file {{ruta/al/archivo_de_configuración}}`
|
||||
|
||||
- Muestra ayuda:
|
||||
|
||||
`mypy -h`
|
Loading…
Add table
Reference in a new issue