Skip to content

Commit 5a74c04

Browse files
authored
Merge pull request #309 from anevolbap/issue_287-makefile
Fix #287 Update Makefile
2 parents cfc227e + 13106b1 commit 5a74c04

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

CONTRIBUTING.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,17 @@ For more instructions see the [Pull request checklist](#pull-request-checklist)
6262
Install the package (in editable mode) and its development dependencies:
6363
6464
```bash
65-
pip install -e .
65+
pip install --no-deps -e .
6666
```
6767
6868
Install development dependencies
6969
70-
```
70+
```bash
7171
pip install 'causalpy[dev]'
7272
pip install 'causalpy[docs]'
7373
pip install 'causalpy[test]'
7474
pip install 'causalpy[lint]'
75+
pip install 'pylint'
7576
```
7677
7778
It may also be necessary to [install](https://pandoc.org/installing.html) `pandoc`. On a mac, run `brew install pandoc`.

Makefile

-5
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,21 @@ init:
44
python -m pip install -e .
55

66
lint:
7-
pip install causalpy[lint]
87
ruff check --fix .
98
ruff format .
109

1110
check_lint:
12-
pip install causalpy[lint]
1311
ruff check .
1412
ruff format --diff --check .
1513
nbqa black --check .
1614
nbqa ruff .
1715
interrogate .
1816

1917
doctest:
20-
pip install causalpy[test]
2118
pytest --doctest-modules --ignore=causalpy/tests/ causalpy/
2219

2320
test:
24-
pip install causalpy[test]
2521
pytest
2622

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

0 commit comments

Comments
 (0)