Skip to content

Commit

Permalink
Merge pull request #131 from Anaconda-Platform/quickfix/new_test_script
Browse files Browse the repository at this point in the history
fix contributing page with new tests scripts
  • Loading branch information
fpliger committed Oct 18, 2017
2 parents dd73654 + d11c23d commit bc33dc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ Here's how to work on the code:

After you've activated your anaconda-project-dev environment,

* `python setup.py test` is configured to run all the checks that
* `python scripts/run_tests.py` is configured to run all the checks that
have to pass before you commit or push. It also reformats the
code with yapf if necessary. Continuous integration runs this
command so you should run it and make it pass before you push
to the repo.
* To only run the formatter and linter, use `python setup.py test
* To only run the formatter and linter, use `python scripts/run_tests.py
--format-only`.
* If you have added but uncommitted changes, you can use use `python setup.py test
* If you have added but uncommitted changes, you can use use `python scripts/run_tests.py
--format-only --git-staged-only` to lint only the added files.
* To only run the tests, use `python -m pytest -vv anaconda_project`
* To only run a single file of tests use `python -m pytest
Expand Down

0 comments on commit bc33dc7

Please sign in to comment.