-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement scripts for
tutorial_i
(#535)
- Loading branch information
1 parent
9ea3f16
commit af79c20
Showing
5 changed files
with
464 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
INCLUDED_NOTEBOOKS="docs/source/tutorial_i.ipynb" # docs/source/backdoor.ipynb docs/source/dr_learner.ipynb docs/source/mediation.ipynb docs/source/sdid.ipynb docs/source/slc.ipynb docs/source/dynamical_intro.ipynb docs/source/actual_causality.ipynb" | ||
|
||
export ISORT_PROFILE=black | ||
|
||
nbqa isort $INCLUDED_NOTEBOOKS | ||
nbqa black $INCLUDED_NOTEBOOKS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
INCLUDED_NOTEBOOKS="docs/source/tutorial_i.ipynb" # docs/source/backdoor.ipynb docs/source/dr_learner.ipynb docs/source/mediation.ipynb docs/source/sdid.ipynb docs/source/slc.ipynb docs/source/dynamical_intro.ipynb docs/source/actual_causality.ipynb" | ||
|
||
export ISORT_PROFILE=black | ||
|
||
nbqa mypy --ignore-missing-imports $INCLUDED_NOTEBOOKS | ||
nbqa isort --check --diff $INCLUDED_NOTEBOOKS | ||
nbqa black --check $INCLUDED_NOTEBOOKS | ||
nbqa flake8 $INCLUDED_NOTEBOOKS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,6 +61,7 @@ | |
"myst_parser", | ||
"nbsphinx", | ||
"nbval", | ||
"nbqa", | ||
], | ||
}, | ||
python_requires=">=3.8", | ||
|