Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1.54 KB

CONTRIBUTING.md

File metadata and controls

59 lines (45 loc) · 1.54 KB

Report issues

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 like The 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 execute export 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.

Make a pull request

We gladly accept pull request on the official repository for new rules, new features, bug fixes, etc.

Developing

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