Skip to content

Commit

Permalink
Update CONTRIBUTING and HACKING with new instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
nfnty committed Jan 21, 2017
1 parent 6e3ae27 commit f33891d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

## Tips for bug reports

* Always completely fill out the issue template that is automatically inserted
on issue creation.
* You can obtain much better error messages with `ranger --debug`, please post
those in bug reports rather than the usual, single-line error message.
* Please mention the version of ranger and Python
* If possible, Please give step-by-step instructions to reproduce the bug.
* Send security-relevant bugs PGP-encrypted to hut@hut.pm, see `HACKING.md`
those in bug reports rather than the usual, single-line error message. Also
check the log by using the default map `W` or by running the command `display_log`.
* Send security-relevant bugs PGP-encrypted to hut@hut.pm, see `HACKING.md`.

## Tips on patching

Expand Down
6 changes: 3 additions & 3 deletions HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Guidelines for Code Modification
Coding Style
------------

* Use syntax compatible to both Python 2.6+ and 3.1+.
* Use syntax compatible with Python `2.6+` and `3.1+`.
* Use docstrings with `pydoc` in mind
* Follow the style guide for python code: https://www.python.org/dev/peps/pep-0008/
* Test the code with `doctest` where it makes sense
* Follow the PEP8 style guide: https://www.python.org/dev/peps/pep-0008/
* Always run `make test` before submitting a new PR. `pylint` and `flake8` needs to be installed.
* When breaking backward compatibility with old configuration files or plugins,
please include a temporary workaround code that provides a compatibility
layer and mark it with a comment that includes the word `COMPAT`. For
Expand Down

0 comments on commit f33891d

Please sign in to comment.