diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2939100e..57c35d74 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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`. diff --git a/Makefile b/Makefile index 8d0ee749..657e39e4 100644 --- a/Makefile +++ b/Makefile @@ -4,12 +4,10 @@ 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 . @@ -17,13 +15,10 @@ check_lint: 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