Last active
October 8, 2020 14:22
-
-
Save drew2a/83efb21eeec3080a9067cdf14aca7d5f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install `flack8` and `import-order` plugin: | |
Note: Below all examples imply the use of venv for the project. | |
``` | |
python3 -m pip install flake8 | |
python3 -m pip install flake8-import-order | |
``` | |
2. Add `File Watcher`: | |
Tools -> File Watchers | |
``` | |
Program: $PyInterpreterDirectory$/flake8 | |
Arguments: $FileDir$/$FileName$ --application-import-names=tribler_core,tribler_gui,tribler_common,run_tribler,experiment | |
Output Filters: $FILE_PATH$:$LINE$:$COLUMN$: $MESSAGE$ | |
``` | |
3. Enable `File Watchers` problems | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add File Watcher:
Enable File Watchers: