Skip to content

Commit ff94a12

Browse files
authored
Merge pull request #1 from MarcoGorelli/migrate-notebooks-from-pymc3
Move notebooks over from pymc3
2 parents c8bc1f7 + 650f45c commit ff94a12

File tree

90 files changed

+94299
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+94299
-0
lines changed

.github/workflows/pre-commit.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: pre-commit
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [master]
7+
8+
jobs:
9+
pre-commit:
10+
runs-on: ubuntu-latest
11+
env:
12+
SKIP: no-commit-to-branch
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-python@v2
16+
- uses: pre-commit/[email protected]

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.pyc
2+
.ipynb_checkpoints

.pre-commit-config.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
repos:
2+
- repo: https://github.com/nbQA-dev/nbQA
3+
rev: 0.5.5
4+
hooks:
5+
- id: nbqa-black
6+
additional_dependencies: [black==20.8b1]
7+
- id: nbqa-isort
8+
additional_dependencies: [isort==5.6.4]
9+
- id: nbqa-pyupgrade
10+
additional_dependencies: [pyupgrade==2.7.4]
11+
args: [--py37-plus]
12+
- repo: local
13+
hooks:
14+
- id: watermark
15+
args: [--negate, --multiline]
16+
entry: '%load_ext watermark.*%watermark -n -u -v -iv -w'
17+
language: pygrep
18+
minimum_pre_commit_version: 2.8.0
19+
name: Check notebooks have watermark (see Jupyter style guide from PyMC3 Wiki)
20+
types: [jupyter]
21+
- id: check-toc
22+
entry: python scripts/check_toc_is_complete.py
23+
language: python
24+
name: Check all notebooks appear in table of contents
25+
types: [jupyter]

notebooks/AR.ipynb

+585
Large diffs are not rendered by default.

notebooks/BEST.ipynb

+697
Large diffs are not rendered by default.

notebooks/Bayes_factor.ipynb

+702
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)