#1149: Add python_module_error rule (#1151)

This commit is contained in:
Divy Jain
2021-01-20 03:07:05 +05:30
committed by GitHub
parent 40dd65963d
commit 62dddd5821
3 changed files with 77 additions and 0 deletions
+1
View File
@@ -281,6 +281,7 @@ following rules are enabled by default:
* `pyenv_no_such_command` – fixes wrong pyenv commands like `pyenv isntall` or `pyenv list`;
* `python_command` – prepends `python` when you try to run non-executable/without `./` python script;
* `python_execute` – appends missing `.py` when executing Python files;
* `python_module_error` – fixes ModuleNotFoundError by trying to `pip install` that module;
* `quotation_marks` – fixes uneven usage of `'` and `"` when containing args';
* `path_from_history` – replaces not found path with similar absolute path from history;
* `react_native_command_unrecognized` – fixes unrecognized `react-native` commands;