vim-python-pep8-indent
is always open for suggestions and contributions by generous developers.
I’ve collected a few tips to get you started.
Please:
- Always add tests for your code.
- Write good commit messages.
They are written in Ruby (sorry :() using vimrunner which requires rspec.
The tests go into
spec/indent/indent_spec.rb
. Look at thedescribe
blocks to get the hang of it.Run the tests with the command:
$ rspec spec
Alternatively you can use Docker:
$ make test_docker
You can select tests based on line numbers, e.g.:
$ rspec ./spec/indent/indent_spec.rb:385 $ make test_docker RSPEC_ARGS=./spec/indent/indent_spec.rb:385
Thank you for considering to contribute!