Skip to content

Commit

Permalink
update contributing
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 committed Apr 10, 2020
1 parent f696af0 commit 68e2b44
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ Ready to contribute? Here's how to set up `rioxarray` for local development.
6. When you're done making changes, check that your changes pass flake8, are black formatter,
and the tests pass::

$ flake8 rioxarray test
$ black --check .
$ python setup.py test or py.test

Or just run::

$ make check
$ make test

Or, if you cannot run makefile commands::

To get flake8 and black, just pip install them into your virtualenv.
$ flake8 --ignore=E731,W503,W504 --exclude --max-complexity 10 --max-line-length 88 rioxarray/
$ flake8 --max-line-length 88 tests/unit/ tests/functional/ tests/integration
$ black --target-version py36 --check .
$ py.test

7. Commit your changes and push your branch to GitLab::

Expand Down

0 comments on commit 68e2b44

Please sign in to comment.