From cfb1a582a37e9ff5b62a87dfa24b4fc7fee9c380 Mon Sep 17 00:00:00 2001 From: Pablo Vena Date: Fri, 15 Mar 2024 19:53:44 -0400 Subject: [PATCH 1/4] Remove 'pip install' commands. --- Makefile | 5 ----- 1 file changed, 5 deletions(-) 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 From 795a31b855b9706beb8ef9dafe90047df95bcbac Mon Sep 17 00:00:00 2001 From: Pablo Vena Date: Fri, 15 Mar 2024 19:54:40 -0400 Subject: [PATCH 2/4] Add '--no-deps' option. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2939100e..847b43fe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -62,7 +62,7 @@ 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 From a28f60536c7adefa8df6ab5cca700283d08e3617 Mon Sep 17 00:00:00 2001 From: Pablo Vena Date: Fri, 15 Mar 2024 19:55:07 -0400 Subject: [PATCH 3/4] Update CONTRIBUTING.md with pylint installation. --- CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 847b43fe..a26ff9fc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -72,6 +72,7 @@ For more instructions see the [Pull request checklist](#pull-request-checklist) 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`. From 13106b1c700f6ef089b4f68ebb3c85e77a090184 Mon Sep 17 00:00:00 2001 From: Pablo Vena Date: Fri, 15 Mar 2024 20:03:18 -0400 Subject: [PATCH 4/4] Add language to code cell. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a26ff9fc..57c35d74 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -67,7 +67,7 @@ For more instructions see the [Pull request checklist](#pull-request-checklist) Install development dependencies - ``` + ```bash pip install 'causalpy[dev]' pip install 'causalpy[docs]' pip install 'causalpy[test]'