1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-02-20 20:09:07 +00:00

s/compile/execute when talking about Python

The word 'compile' is just misleading here.
This commit is contained in:
mcarton 2015-06-26 14:37:44 +02:00
parent 7173e0dbad
commit 5552fd3dc9
3 changed files with 3 additions and 3 deletions

View File

@ -181,7 +181,7 @@ using the matched rule and runs it. Rules enabled by default are as follows:
* `open` – prepends `http` to address passed to `open`;
* `pip_unknown_command` – fixes wrong pip commands, for example `pip instatl/pip install`;
* `python_command` – prepends `python` when you trying to run not executable/without `./` python script;
* `python_compile` – appends missing `.py` when compiling and running Python files;
* `python_execute` – appends missing `.py` when executing Python files;
* `quotation_marks` – fixes uneven usage of `'` and `"` when containing args'
* `rm_dir` – adds `-rf` when you trying to remove directory;
* `sl_ls` – changes `sl` to `ls`;

View File

@ -1,5 +1,5 @@
import pytest
from thefuck.rules.python_compile import match, get_new_command
from thefuck.rules.python_execute import match, get_new_command
from tests.utils import Command

View File

@ -1,4 +1,4 @@
# Appends .py when compiling python files
# Appends .py when executing python files
#
# Example:
# > python foo