dotfiles/vim/plugins/vim-python-pep8-indent/CONTRIBUTING.rst

31 lines
940 B
ReStructuredText
Raw Normal View History

2018-04-05 13:06:54 +02:00
How To Contribute
=================
``vim-python-pep8-indent`` is always open for suggestions and contributions by generous developers.
Ive collected a few tips to get you started.
Please:
- *Always* add tests for your code.
- Add yourself to the AUTHORS.rst file in an alphabetical fashion by first name no matter how big or small your changes are.
- Write `good commit messages`_.
Running Tests
-------------
- They are written in Ruby_ (sorry :() using vimrunner_ which requires rspec_.
- The tests go into ``spec/indent/indent_spec.rb``.
Look at the ``describe`` blocks to get the hang of it.
- Run the tests with the command::
$ rspec spec
Thank you for considering to contribute!
.. _Ruby: https://www.ruby-lang.org/
.. _`good commit messages`: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
.. _vimrunner: https://github.com/AndrewRadev/vimrunner
.. _rspec: https://github.com/rspec/rspec