Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
284 commits
Select commit Hold shift + click to select a range
0a0e443
Fix advanced Python
matthew-brett Aug 9, 2025
9857245
Further advanced Python fixes.
matthew-brett Aug 9, 2025
51099b9
Remove {simple} role.
matthew-brett Aug 9, 2025
9e7436b
Fix another couple of compound roles.
matthew-brett Aug 9, 2025
9a88c0c
Fix {python} blocks in debugging page.
matthew-brett Aug 9, 2025
d9d518f
Add advanced topics to _toc
matthew-brett Aug 9, 2025
85ecfa0
Workking through optimization notebook
matthew-brett Aug 9, 2025
c94313b
Add script for putting examples into own notebook.
matthew-brett Aug 13, 2025
5569ea9
Fix parsing of mathematical optimization notebook.
matthew-brett Sep 6, 2025
9884224
Fix up parsing of some notebooks.
matthew-brett Sep 6, 2025
eb5887a
Fix execution in some language notebooks.
matthew-brett Sep 6, 2025
ccd9a8e
Edits to Scipy Sparse.
matthew-brett Sep 6, 2025
9e8826e
Attempted edit to solve Sphinx build error.
matthew-brett Sep 6, 2025
7fdbf09
Working through pages.
matthew-brett Sep 6, 2025
dac151a
Maybe fix sparse solvers page.
matthew-brett Sep 6, 2025
3bf4045
Another fix to solvers page.
matthew-brett Sep 6, 2025
499f8dc
Remove image specifiers from guide
matthew-brett Sep 6, 2025
62c168f
Remove unused import
matthew-brett Sep 6, 2025
e88f350
Another couple of pages with wrong syntax.
matthew-brett Sep 6, 2025
e9432bf
Remove ipython directive, fix table
matthew-brett Sep 9, 2025
d11405a
Exceptions rewrite without ipython directives.
matthew-brett Sep 9, 2025
cdb6435
Remove ipython directive.
matthew-brett Sep 9, 2025
fa1e9dd
Other uses if ipython
matthew-brett Sep 9, 2025
89f4bb6
ipython pygments syntax
matthew-brett Sep 9, 2025
5bf5613
AUTHORS.md is a page; don't ignore.
matthew-brett Sep 8, 2025
0b4b2cc
Rename substitution.
matthew-brett Sep 8, 2025
ecb1b75
Clean up basic_types
matthew-brett Sep 9, 2025
e09f0d5
Fix functions
matthew-brett Sep 9, 2025
fec499a
Move toctree into _toc
matthew-brett Sep 9, 2025
3b879da
Edit some warnings, for build fix
matthew-brett Sep 9, 2025
a9211fe
Conmment out image directives.
matthew-brett Sep 9, 2025
9439690
Reprocess image blocks for parsing.
matthew-brett Sep 9, 2025
c88f422
add sandbox file with early notes
pxr687 Sep 11, 2025
1433b7e
Fix build by removing stray LaTeX markup.
matthew-brett Sep 11, 2025
e6121a7
Add editing instructions
matthew-brett Sep 11, 2025
5caa602
Work through advanced operations
matthew-brett Sep 11, 2025
6856c9b
Fix up Numpy exercises
matthew-brett Sep 11, 2025
a30037f
Remove now-redundant gallery.
matthew-brett Sep 11, 2025
500b0f1
Rename exercises to avoid clash with headings
matthew-brett Sep 11, 2025
72a8a03
Rework a few more notebooks
matthew-brett Sep 11, 2025
8506d48
first adapted optimization graphs are in
pxr687 Sep 15, 2025
b0a6a27
Docstrings for examples2nb
matthew-brett Sep 15, 2025
5727cb7
Undo commenting of matplotlib example blocks
matthew-brett Sep 15, 2025
318ad63
Replace non-example image usage.
matthew-brett Sep 15, 2025
a6fd443
Some replacements in .md files.
matthew-brett Sep 15, 2025
e707c60
Script to run regex over file
matthew-brett Sep 15, 2025
3829d50
Modify examples2nb to allow default examples.
matthew-brett Sep 15, 2025
7e6df5c
Tweak parsing, add writing of example notebooks.
matthew-brett Sep 15, 2025
a34f569
Literal for UnivariateSpline
matthew-brett Sep 15, 2025
200f38b
Merge remote-tracking branch 'pxr687/optimization-page' into mb-main
matthew-brett Sep 15, 2025
cb485f8
Rework script.
matthew-brett Sep 15, 2025
f088f53
add encoding check to examples script to sidestep error
pxr687 Sep 16, 2025
0beeacb
first pass at adaptive gradient descent adaptation
pxr687 Sep 16, 2025
abd6d43
first pass at all graphs on optimization page
pxr687 Sep 16, 2025
10cc7a2
first pass at all graphs on optimization page
pxr687 Sep 16, 2025
e2bf958
Nearer final version of script
matthew-brett Sep 16, 2025
5d7a10f
Minor refactor
matthew-brett Sep 16, 2025
d9a5e13
Typo
matthew-brett Sep 17, 2025
bd64435
Fix up stats-interpolate exercises
matthew-brett Sep 17, 2025
7aac72b
Working on the scikit-learn page.
matthew-brett Sep 17, 2025
f4830c3
Set default notebook encoding.
matthew-brett Sep 17, 2025
663e7c1
Remove prints
matthew-brett Sep 17, 2025
5b19c69
Finish scikit-learn page first draft.
matthew-brett Sep 17, 2025
fd9cf09
Finish first pass edits of scikit-learn page.
matthew-brett Sep 18, 2025
8bf0f5c
Recursive search for examples
matthew-brett Sep 18, 2025
db85e2b
Add matplotlib examples notebook.
matthew-brett Sep 18, 2025
d80329e
Starting on Matplotlib tutorial.
matthew-brett Sep 18, 2025
4d9f820
Working through Matplotlib foothills.
matthew-brett Sep 18, 2025
4607d99
update plotting code and add cell tags
pxr687 Sep 19, 2025
0b4e7e5
remove junk and update _scripts/
pxr687 Sep 19, 2025
33648df
Merge remote-tracking branch 'pxr687/optimization-page'
matthew-brett Sep 19, 2025
e89aadc
Swap new optimization notebook for old.
matthew-brett Sep 19, 2025
00a6502
Finish up Matplotlib page.
matthew-brett Sep 19, 2025
a613f41
Remove examples page; now consumed.
matthew-brett Sep 19, 2025
5b70dd2
Fix build of debugging page
matthew-brett Sep 19, 2025
dbc3ed9
Drop reference to sphinx-gallery in examples.
matthew-brett Sep 19, 2025
003ae2e
Patchup of scikit-image page
matthew-brett Sep 19, 2025
ccd6439
Work through statistics page
matthew-brett Sep 19, 2025
51afbe4
Add stats examples notebook.
matthew-brett Sep 19, 2025
ba488b8
Add Scipy examples
matthew-brett Sep 20, 2025
40213f6
Use ::: syntax for include.
matthew-brett Sep 20, 2025
c2ca92f
Remove "> " and some other edits.
matthew-brett Sep 20, 2025
5fc5176
Run post_parser having stripped preceding "> "
matthew-brett Sep 20, 2025
4feba75
Remove stray "^>" markers.
matthew-brett Sep 20, 2025
4aa345d
Working through Scipy page.
matthew-brett Sep 20, 2025
4294bb9
Working through examples.
matthew-brett Sep 20, 2025
f481418
Continuing Scipy page.
matthew-brett Sep 20, 2025
12738c4
Finish up Scipy page.
matthew-brett Sep 20, 2025
5f45788
Tweaks to improve build.
matthew-brett Sep 20, 2025
98e2b50
Clean up some build failures
matthew-brett Sep 20, 2025
98a1607
Remove now-unused CSS
matthew-brett Sep 20, 2025
dc7726c
Fixing some failures.
matthew-brett Sep 20, 2025
0975483
Restore advanced_numpy page
matthew-brett Sep 22, 2025
0866889
Move Matplotlib illustrations into own file.
matthew-brett Sep 22, 2025
a29a802
Replace ```{image} with ::: {image} in Numpy page.
matthew-brett Sep 22, 2025
80fadbc
Update Numpy pages, fixing exercises.
matthew-brett Sep 22, 2025
f29c3f4
Add title to about page
matthew-brett Sep 22, 2025
aa3cf9f
Fix some references.
matthew-brett Sep 22, 2025
9b3ce8e
Add data file for Numpy exercise
matthew-brett Sep 22, 2025
5caaecc
Move note heading to block of note.
matthew-brett Sep 22, 2025
0335d29
Fix some scipy page references
matthew-brett Sep 22, 2025
f6bbae2
Use glue to pick up spectrogram example figures.
matthew-brett Sep 22, 2025
e71dd9d
Put Scipy FFT code back into examples.
matthew-brett Sep 22, 2025
ea7d912
Try explicit title for about page.
matthew-brett Sep 22, 2025
aad20df
Remove reference to Numpy 1.13
matthew-brett Sep 22, 2025
ccf454f
Clean up IPython blocks
matthew-brett Sep 22, 2025
6049e2c
Various reference fixes, URL fix.
matthew-brett Sep 22, 2025
5df8075
Fix some more reference errors.
matthew-brett Sep 22, 2025
302c2a2
Clean up Python language section
matthew-brett Sep 22, 2025
2fc7169
Clear up _toc
matthew-brett Sep 22, 2025
809cf97
Various fixes to build.
matthew-brett Sep 22, 2025
31d88a3
Drop test workflow, install build deps for lint
matthew-brett Sep 22, 2025
9a7cb12
Pre-commit changes.
matthew-brett Sep 22, 2025
8900b8a
Install build requirements for pages
matthew-brett Sep 22, 2025
496f8ee
Remove unused _course.yml
matthew-brett Sep 22, 2025
39442af
Add todo file.
matthew-brett Sep 22, 2025
48d3fbf
remove substitutions, fix captions and remove list tables from optimi…
pxr687 Sep 23, 2025
73cb2d6
A couple of workflow fixes
matthew-brett Sep 23, 2025
71ba3be
Todo style fixes.
matthew-brett Sep 23, 2025
b035134
make intro more consistent with original, catch typo
pxr687 Sep 23, 2025
3c655ce
remove junk
pxr687 Sep 23, 2025
faff85e
fix missing caption on optimization page
pxr687 Sep 23, 2025
3ece764
Remove duplicate helper directory.
matthew-brett Sep 23, 2025
edb30ff
Ruff suggestions
matthew-brett Sep 23, 2025
4450e70
Satisfy mypy
matthew-brett Sep 23, 2025
96046b1
Merge remote-tracking branch 'pxr687/main' into mb-main
matthew-brett Sep 23, 2025
5d37862
Fix trailing whitespace.
matthew-brett Sep 23, 2025
f156723
Add Linting make target.
matthew-brett Sep 23, 2025
bd00287
finish types page proofing, small changes
pxr687 Sep 23, 2025
0bb0562
Fix build directory
matthew-brett Sep 23, 2025
2160541
proof control page, small changes
pxr687 Sep 23, 2025
f78f0c8
proofing control page, more small edits
pxr687 Sep 23, 2025
0c4d675
proof functions page, small edits
pxr687 Sep 23, 2025
02a885c
Adapt processing script to error processing
matthew-brett Sep 23, 2025
e3fbe0f
Minor edits for intro page
matthew-brett Sep 23, 2025
d9ece50
Removing, fixing some quote markers
matthew-brett Sep 23, 2025
1ae45bb
implement most of Matthew's comments
pxr687 Sep 23, 2025
559ca1b
small edits to numpy array page
pxr687 Sep 23, 2025
ec5840f
Merge pull request #7 from pxr687/proof-numpy-array-page
matthew-brett Sep 23, 2025
45d6b24
Merge pull request #4 from pxr687/proof-types-page
matthew-brett Sep 23, 2025
915e3ab
Linter changes
matthew-brett Sep 23, 2025
b5f8fa8
Fix tests to adapt to change in function API
matthew-brett Sep 24, 2025
bc07a2b
Neater way of getting first following node.
matthew-brett Sep 24, 2025
d08de34
Add test target.
matthew-brett Sep 24, 2025
4a76625
Adapt CONTRIBUTING to content.
matthew-brett Sep 24, 2025
7962944
Move pre-commit into build_requirements.
matthew-brett Sep 24, 2025
50c2951
Reformat file with Ruff
matthew-brett Sep 24, 2025
ae7bddc
Ignore generated file.
matthew-brett Sep 24, 2025
3f4ddda
Merge remote-tracking branch 'pxr687/proof-functions-page' into mb-main
matthew-brett Sep 24, 2025
b6b89fc
Refactor functions, add exercises[
matthew-brett Sep 24, 2025
045ce49
Merge remote-tracking branch 'pxr687/proof-control-flow' into mb-main
matthew-brett Sep 24, 2025
662ef6d
Rework control flow, add exercise.
matthew-brett Sep 24, 2025
f8d8726
Note to look for exercises
matthew-brett Sep 24, 2025
bf960bf
Remove last "> " remnants.
matthew-brett Sep 24, 2025
6354812
Rework standard library page, clean solutions.
matthew-brett Sep 24, 2025
19b623f
Remove done todo item.
matthew-brett Sep 24, 2025
fc91c29
Restore previous deletion of sidebar directives
matthew-brett Sep 24, 2025
74d3e00
Remove some rst markup
matthew-brett Sep 24, 2025
ae0bbff
Working through exercises
matthew-brett Sep 24, 2025
3480306
Fix path to example data file.
matthew-brett Sep 24, 2025
7a6e25c
Exercises in optimization page.
matthew-brett Sep 24, 2025
e1a3c85
Exercises in optimization page.
matthew-brett Sep 24, 2025
a1d845a
Complete removal of old exercise markers.
matthew-brett Sep 24, 2025
e552f30
Remove last ReST directives.
matthew-brett Sep 24, 2025
7bb6a1f
Reworking skimage page.
matthew-brett Sep 24, 2025
592c9e4
Finish up port of scikit-image page.
matthew-brett Sep 24, 2025
853833b
Note completed task, add new task.
matthew-brett Sep 24, 2025
174b4d8
fix tables
pxr687 Sep 25, 2025
5e79ff2
remove junk image
pxr687 Sep 25, 2025
aa7c19e
missing .
pxr687 Sep 25, 2025
9d3f898
Merge pull request #8 from pxr687/fix-tables
matthew-brett Sep 25, 2025
9382ee8
Merge pull request #9 from pxr687/proof-matplotlib
matthew-brett Sep 25, 2025
3093b94
Remove generated file from repo.
matthew-brett Sep 25, 2025
3d0a624
Don't process .ipynb_checkpoints
matthew-brett Sep 25, 2025
f2869d3
Label some generated files.
matthew-brett Sep 25, 2025
6869fee
Remove .ipynb_checkpoint file.
matthew-brett Sep 25, 2025
8c31f9c
make clean removes .ipynb_checkpoints directories
matthew-brett Sep 25, 2025
81b0987
Remove a :math: reference.
matthew-brett Sep 25, 2025
4cecd32
Replace :ref: with {ref}
matthew-brett Sep 25, 2025
4503c50
Replace :func: with {func}
matthew-brett Sep 25, 2025
ce1b8a8
Replace :mod: with {mod}
matthew-brett Sep 25, 2025
413a586
Replace :class: with {class}
matthew-brett Sep 25, 2025
4c61fe4
Add intersphinx mappings.
matthew-brett Sep 25, 2025
ed6ff6b
Fix scikit-image intersphinx mappings.
matthew-brett Sep 25, 2025
e02be5f
Remove module reference that wasn't a module ref.
matthew-brett Sep 25, 2025
aba17ad
Fix new reference label failure
matthew-brett Sep 25, 2025
4d6ee43
Fix some download links.
matthew-brett Sep 25, 2025
f18e070
Fix a few class references.
matthew-brett Sep 25, 2025
21a988d
Remove extra space at beginning of line.
matthew-brett Sep 25, 2025
4b427a2
-rf to avoid error deleting directories.
matthew-brett Sep 25, 2025
bb9edd0
Point to my copy for now.
matthew-brett Sep 25, 2025
2c73e28
Remove use of <br> now I've found list-table
matthew-brett Sep 25, 2025
f97bb78
Hide some inputs
matthew-brett Sep 25, 2025
b916a8b
Full path for interact buttons.
matthew-brett Sep 25, 2025
85fed2b
Refactor optimization page to list-tables and glue
matthew-brett Sep 25, 2025
92ad81c
Remove now-uneeded header code in math-opt nbook.
matthew-brett Sep 25, 2025
e64647b
Fix repeated plot example; add plot code links.
matthew-brett Sep 26, 2025
f7c9315
Fix Scipy module table.
matthew-brett Sep 26, 2025
26beddb
Change guide from ReST example to Markdown
matthew-brett Sep 26, 2025
5018547
Add myst_nb to requirements
matthew-brett Sep 26, 2025
8234106
Use glue for camel graphic
matthew-brett Sep 26, 2025
c6ea6ba
Note mathematical optimization done.
matthew-brett Sep 26, 2025
2c070bf
Remove references to `rst` files.
matthew-brett Sep 26, 2025
28b5913
Remove last ".. " directive reference.
matthew-brett Sep 26, 2025
96ff408
Ignore joblib directories
matthew-brett Sep 26, 2025
9977787
Update PRESENTING to be agnostic about build.
matthew-brett Sep 26, 2025
b0d5d33
We no longer use sphinx-gallery
matthew-brett Sep 26, 2025
32afdbc
Remove conf.py
matthew-brett Sep 26, 2025
9e673de
Run compare_optimizers and commit rebuilt pkl
matthew-brett Sep 26, 2025
94df796
Ruff reformat
matthew-brett Sep 26, 2025
b665332
Fix a title.
matthew-brett Sep 26, 2025
3584628
Fix link to plot.
matthew-brett Sep 26, 2025
50f83c6
Rending -> rendering
matthew-brett Sep 26, 2025
f9a365b
Initial port to Myst Markdown text format
matthew-brett Sep 29, 2025
c111448
Generalize notebook processing for input formats.
matthew-brett Sep 29, 2025
ee3578f
Add antialiased back to MPL quick ref table.
matthew-brett Sep 29, 2025
e772db3
Add prefix to interact URL
matthew-brett Sep 29, 2025
42612ab
Remove subdirectory spec for repository
matthew-brett Sep 29, 2025
175abae
Fix references to "md:myst" - should be "myst"
matthew-brett Sep 29, 2025
2fe71ee
Refactor processing to allowe remove-cell drop
matthew-brett Sep 29, 2025
7d3907d
Lint
matthew-brett Sep 29, 2025
e882714
Move regex around
matthew-brett Sep 29, 2025
460d9b2
Add Myst jupyterlab / jupyterlite extension.
matthew-brett Sep 29, 2025
0ebde3e
Turn of processing of admonitions.
matthew-brett Sep 29, 2025
8987a7d
Drop out glue directives.
matthew-brett Sep 29, 2025
1843cbb
More complete message for glue refs.
matthew-brett Sep 30, 2025
b61f77c
Refactor process_admonitions
matthew-brett Sep 30, 2025
19088a0
Clean joblib files
matthew-brett Sep 30, 2025
1ca54a1
Some tweaks to the TOC
matthew-brett Sep 30, 2025
a9bfe8c
Add TOC to front page.
matthew-brett Sep 30, 2025
8eab619
Small capitalization and style fixes.
matthew-brett Sep 30, 2025
3bcb8c6
Fix inclusion of metadata in included pages.
matthew-brett Sep 30, 2025
ea8836d
Remove reference to PDF version
matthew-brett Oct 3, 2025
de7f8f3
Add first tests.
matthew-brett Oct 3, 2025
8d878b3
Explain testing, more on post-processing
matthew-brett Oct 3, 2025
a2bcbe6
Allow Makefile clean commands to fail.
matthew-brett Oct 3, 2025
65955dd
Move Jupyterlab-myst to requirements.
matthew-brett Oct 3, 2025
72aecb2
Satisfy linter.
matthew-brett Oct 3, 2025
53338f5
Note default True for proc_admonitions
matthew-brett Oct 3, 2025
50e6e70
Remove typo from README.md
pxr687 Oct 6, 2025
a367477
Merge branch 'camel-glue' into mb-main
matthew-brett Oct 6, 2025
4f2103f
Merge pull request #13 from pxr687/main
matthew-brett Oct 6, 2025
569766a
Decapitalize some admonition directives
matthew-brett Oct 16, 2025
2e14f9d
Remove stub index pages from _toc, leave as redirects.
matthew-brett Oct 17, 2025
41a55b2
Emphasise table captions
matthew-brett Oct 17, 2025
4050df1
Turn bold text into headings
matthew-brett Oct 17, 2025
6953285
Switch URLs back to main site
matthew-brett Oct 25, 2025
27711d4
Maybe fix circle CI
matthew-brett Oct 25, 2025
e92c528
Try further fixes to circle-ci
matthew-brett Oct 26, 2025
2f2300f
Refactor requirements
matthew-brett Oct 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 4 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,11 @@ version: 2.1
jobs:
build:
docker:
- image: cimg/python:3.12
- image: cimg/python:3.13

steps:
- checkout

- run:
name: Install TeX
command: |
sudo apt update
sudo apt install -y \
dvipng \
latexmk \
texlive-latex-extra \
texlive-fonts-extra \
texlive-extra-utils

- restore_cache:
keys:
- pip-cache-v1
Expand All @@ -27,7 +16,7 @@ jobs:
name: Install Python dependencies
command: |
pip install --upgrade --user pip
pip install --user -r requirements.txt
pip install --user -r build_requirements.txt
pip list

- save_cache:
Expand All @@ -40,12 +29,7 @@ jobs:
command: |
# NOTE: bad interaction w/ blas multithreading on circleci
export OMP_NUM_THREADS=1
make pdf
make html # FIX: check that failing examples produce failure
cp \
ScientificPythonLectures.pdf \
ScientificPythonLectures-simple.pdf \
build/html/_downloads/
make web # FIX: check that failing examples produce failure

- store_artifacts:
path: build/html
path: _build/html
3 changes: 3 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[codespell]
skip = .git,*.pdf,*.svg,*.csv
ignore-words-list = trough,remainers,befores
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install packages
run: |
pip install --upgrade pip wheel setuptools
pip install -r requirements.txt
pip install -r build_requirements.txt
pip list

- name: Lint
Expand Down
19 changes: 8 additions & 11 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,23 @@ jobs:
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip wheel setuptools
python -m pip install -r requirements.txt
python -m pip install -r build_requirements.txt
# Resolution pushes jupyter-book down many versions. Force upgrade.
python -m pip install -U jupyter-book

- name: "Build PDF & HTML"
- name: "Build HTML"
run: |
make pdf
make html
mv \
ScientificPythonLectures.pdf \
ScientificPythonLectures-simple.pdf \
build/html/_downloads
echo -n 'lectures.scientific-python.org' > build/html/CNAME
touch build/html/.nojekyll
echo -n 'lectures.scientific-python.org' > _build/html/CNAME
touch _build/html/.nojekyll

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: scipy-lectures/lectures.scientific-python.org
# external_repository: scipy-lectures/lectures.scientific-python.org
publish_branch: gh-pages
publish_dir: ./build/html
publish_dir: ./_build/html
force_orphan: true
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,13 @@ jobs:

- name: Install packages
run: |
python -m pip install --upgrade pip wheel setuptools
python -m pip install -r requirements.txt
python -m pip install -r test_requirements.txt
python -m pip list

- name: Test lectures
run: make test
- name: Test
run: |
# Avoid deprecation error.
export JUPYTER_PLATFORM_DIRS=1
jupyter --paths

make test
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,17 @@ airfares.txt
wages.txt
ScientificPythonLectures-simple.pdf
ScientificPythonLectures.pdf
.ipynb_checkpoints/
__pycache__/
.ok_storage
*.ipynb
*.orig
node_modules/
.jupyterlite.doit.db
advanced/advanced_numpy/test.png
packages/scikit-image/cat.png
advanced/advanced_numpy/test_recolored.png
advanced/advanced_numpy/test_red.png
intro/language/junk.txt
intro/language/test.pkl
joblib/
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ repos:
additional_dependencies:
- types-aiofiles
- types-requests
- types-docutils
- types-PyYAML
- pandas-stubs
- types-pillow
- matplotlib
Expand All @@ -56,6 +58,8 @@ repos:
| .*/setup.*\.py$
| .*/demo.py$
| .*/auto_examples/
| _scripts/examples2nb.py$
| _scripts/post_parser.py$
| advanced/mathematical_optimization/examples/plot_gradient_descent\.py$
| advanced/mathematical_optimization/examples/helper/compare_optimizers\.py$
| advanced/advanced_numpy/examples/view-colors\.py$
Expand Down
Loading