If you have any issue with The Fuck, sorry about that, but we will do what we can to fix that. Actually, maybe we already have, so first thing to do is to update The Fuck and see if the bug is still there.
If it is (sorry again), check if the problem has not already been reported and if not, just open an issue on GitHub with the following basic information:
- the output of
thefuck --version
(something likeThe Fuck 3.1 using Python 3.5.0
); - your shell and its version (
bash
,zsh
, Windows PowerShell, etc.); - your system (Debian 7, ArchLinux, Windows, etc.);
- how to reproduce the bug;
- the output of The Fuck with
THEFUCK_DEBUG=true
exported (typically executeexport THEFUCK_DEBUG=true
in your shell before The Fuck); - if the bug only appears with a specific application, the output of that application and its version;
- anything else you think is relevant.
It's only with enough information that we can do something to fix the problem.
We gladly accept pull request on the official repository for new rules, new features, bug fixes, etc.
Install The Fuck
for development:
pip install -r requirements.txt
python setup.py develop
Run code style checks:
flake8
Run unit tests:
py.test
Run unit and functional tests (requires docker):
py.test --enable-functional
For sending package to pypi:
sudo apt-get install pandoc
./release.py