

GitHub - dropbox/mypy-PyCharm-plugin: A simple plugin that allows running mypy f...
source link: https://github.com/dropbox/mypy-PyCharm-plugin
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
mypy-PyCharm-plugin
The plugin provides a simple terminal to run fast mypy daemon from PyCharm with a single click or hotkey and easily navigate through type checking results. The idea of the mypy terminal is different from the normal PyCharm type checking that highlights the errors in a current file. The mypy terminal shows errors in all files in your project (even in those not currently open). Also mypy provides a bit stricter type checking and is tunable by various flags and config settings.
Installation steps
The plugin requires mypy to be installed.
- Download mypy-plugin/mypy-plugin.jar
- In PyCharm go to Preferences -> Plugins -> Install plugins from disc -> Select downloaded file -> Restart PyCharm when prompted.
- After restart you should find the plugin in View -> Tool windows -> Mypy terminal
Usage
You can pin the terminal to either side of PyCharm window: click on window toolbar → Move. The current default is bottom, which works best if you typically have only a few errors. If you are working on legacy code with many mypy errors, you may want to use the ‘left’ or ‘right’ setting. Finally, if you have multiple monitors you might find the floating mode convenient.
Currently supported features and keyboard shortcuts:
- Show/hide mypy terminal:
Ctrl + Shift + X
- Run mypy type checking:
Ctrl + Shift + M
or click Run - Go to error: click on error line, or use
Ctrl + Shift + <arrows>
to navigate between errors - Copy current error: right click → Copy error text,
or
Ctrl + Shift + C
- Collapse/expand errors: click on file name in the mypy terminal,
or
Ctrl + Shift + Enter
when a file name is selected - Sometimes mypy shows links to online documentation; to follow
links use
Alt + <click>
External contributions to the project should be subject to Dropbox Contributor License Agreement (CLA).
Copyright (c) 2018 Dropbox, Inc.
Recommend
-
59
README.md vroom.vim Run your Ruby tests! Supports RSpec, Test::Unit/MiniTest, Konacha, and Cucumber. For more information, check out the
-
26
Join GitHub today GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
-
13
Server Text A simple flask service that allows you to run commands on the server/computer over sms. Watch Demo Video Here Please note this is early acce...
-
81
README.md rtsp-simple-serve...
-
19
plugin-fineagent A plugin for the ja-netfilter, it allows you to use fineagent in ja-netfilter. Use the mvn clean package command to compile and use
-
4
Download Awesome file is an app that integrates with Dropbox API, and allows the user to download a file Mar 25, 2022 1 min read 📁 Awesome Fi...
-
10
Sharpen - Automated Java->C# coversion imazen/sharpen mono/sharpen Sharpen is a library and command-line tool for au...
-
3
Typescript strict mode plugin Typescript plugin that allows turning on strict mode in specific files or directories. Do I need this plugin? typescript-strict-plugin was created mainly for existing projects tha...
-
6
Bringing the simplicity of print() to production debugging!
-
6
Solana Labs’ Cha...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK