Skip to content

Commit 9a9d415

Browse files
committed
update CONTRIBUTING, bump to pymc 5, loosen lint dependency requirements
1 parent 218ccea commit 9a9d415

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

CONTRIBUTING.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,15 @@ pip install -e .
2525
4. Install development dependencies
2626

2727
```
28-
pip install -r requirements-dev.txt
29-
pip install -r requirements-docs.txt
28+
pip install causalpy[dev]
29+
pip install causalpy[docs]
30+
```
31+
32+
If that fails, try:
33+
34+
```
35+
pip install 'causalpy[dev]'
36+
pip install 'causalpy[docs]'
3037
```
3138

3239
It may also be necessary to [install](https://pandoc.org/installing.html) `pandoc`. On a mac, I run `brew install pandoc`.

pyproject.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies = [
3232
"numpy",
3333
"pandas",
3434
"patsy",
35-
"pymc>=4.0.0",
35+
"pymc>=5.0.0",
3636
"scikit-learn>=1",
3737
"scipy",
3838
"seaborn>=0.11.2",
@@ -42,7 +42,7 @@ dependencies = [
4242
# List additional groups of dependencies here (e.g. development dependencies). Users
4343
# will be able to install these using the "extras" syntax, for example:
4444
#
45-
# $ pip install sampleproject[dev]
45+
# $ pip install causalpy[dev]
4646
#
4747
# Similar to `dependencies` above, these must be valid existing projects.
4848
[project.optional-dependencies]
@@ -63,12 +63,12 @@ docs = ["ipykernel",
6363
"sphinx-rtd-theme",
6464
"statsmodels",
6565
]
66-
lint = ["black>=22.3.0",
67-
"flake8>=4.0.1",
68-
"interrogate>=1.5.0",
69-
"isort>=5.10.1",
70-
"nbqa>=1.5.3",
71-
"pre-commit>=2.19."
66+
lint = ["black",
67+
"flake8",
68+
"interrogate",
69+
"isort",
70+
"nbqa",
71+
"pre-commit"
7272
]
7373
test = [
7474
"pytest",

0 commit comments

Comments
 (0)