Skip to content

Commit

Permalink
Run spellcheck to find common typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Jan 14, 2018
1 parent 0790906 commit 97b9da0
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ python:
- "3.6"
install:
- pip install coveralls
- pip install -r requirements.txt
script:
coverage run --source=bincopy setup.py test
after_success:
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
test:
python2 setup.py test
python3 setup.py test
codespell -d $$(git ls-files | grep -v "\.bin")

release-to-pypi:
python setup.py sdist
Expand Down
23 changes: 23 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,29 @@ Print general information about given binary format file(s).
Data address ranges:
0x00000100 - 0x00000140
Contributing
============
#. Install prerequisites.
.. code-block:: text
pip install -r requirements.txt
#. Fork the repository.
#. Implement the new feature or bug fix.
#. Implement test case(s) to ensure that future changes do not break
legacy.
#. Run the tests.
.. code-block:: text
make test
#. Create a pull request.
.. |buildstatus| image:: https://travis-ci.org/eerimoq/bincopy.svg
.. _buildstatus: https://travis-ci.org/eerimoq/bincopy
Expand Down
2 changes: 1 addition & 1 deletion bincopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ def format_line(address, data):
return '\n'.join(lines) + '\n'

def fill(self, value=b'\xff'):
"""Fill all empty space inbetween segments with given value.
"""Fill all empty space between segments with given value.
:param value: Value to fill with.
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
codespell

0 comments on commit 97b9da0

Please sign in to comment.