Skip to content

Commit

Permalink
Merge pull request #471 from datalad/testing-docs
Browse files Browse the repository at this point in the history
Docs and dependency for linting
  • Loading branch information
jsheunis authored Jun 10, 2024
2 parents cd3f85e + abb861c commit c1dc55e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ cd datalad-catalog
pip install -r requirements-devel.txt
```

This installs `sphinx` and related packages for documentation building, `coverage` for code coverage, and `pytest` for testing.
This installs `sphinx` and related packages for documentation building, `coverage` for code coverage,
`black` for linting, and `pytest` for testing.

### Contribution process

Expand All @@ -202,10 +203,12 @@ To make a contribution to the code or documentation, please:
- create an issue describing the bug/feature
- fork the project repository,
- create a branch from `main`,
- check that tests succeed: from the project root directory, run `pytest`
- commit your changes,
- push to your fork
- check that linting tests succeed: from the project root directory, run `black .`
- check that tests succeed: from the project root directory, run `python -m pytest`
- push your commits to your fork
- create a pull request with a clear description of the changes
- check that all continuous integration tests succeed on the pull request

## Contributors ✨

Expand Down
1 change: 1 addition & 0 deletions requirements-devel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pyyaml
pytest
pytest-cov
coverage
black

# requirements for a document building
sphinx
Expand Down

0 comments on commit c1dc55e

Please sign in to comment.