Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #287 Update Makefile #309

Merged
merged 4 commits into from
Mar 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,17 @@ For more instructions see the [Pull request checklist](#pull-request-checklist)
Install the package (in editable mode) and its development dependencies:

```bash
pip install -e .
pip install --no-deps -e .
```

Install development dependencies

```
```bash
pip install 'causalpy[dev]'
pip install 'causalpy[docs]'
pip install 'causalpy[test]'
pip install 'causalpy[lint]'
pip install 'pylint'
```

It may also be necessary to [install](https://pandoc.org/installing.html) `pandoc`. On a mac, run `brew install pandoc`.
Expand Down
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,21 @@ init:
python -m pip install -e .

lint:
pip install causalpy[lint]
ruff check --fix .
ruff format .

check_lint:
pip install causalpy[lint]
ruff check .
ruff format --diff --check .
nbqa black --check .
nbqa ruff .
interrogate .

doctest:
pip install causalpy[test]
pytest --doctest-modules --ignore=causalpy/tests/ causalpy/

test:
pip install causalpy[test]
pytest

uml:
pip install pylint
pyreverse -o png causalpy --output-directory docs/source/_static --ignore tests
Loading