Skip to content

Commit e587648

Browse files
committed
Update settings for pillow, advanced lectures
1 parent 0c9c301 commit e587648

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@ repos:
4646
- types-aiofiles
4747
- types-requests
4848
- pandas-stubs
49+
- types-pillow
4950
exclude: |
5051
(?x)(
5152
^build/
52-
| ^advanced/.*/setup\.py$
53+
| .*/setup.*\.py$
5354
| .*/demo.py$
5455
| .*/auto_examples/
5556
| advanced/mathematical_optimization/examples/plot_gradient_descent\.py$
@@ -59,7 +60,11 @@ repos:
5960
| advanced/interfacing_with_c/cython_numpy/test_cos_doubles\.py$
6061
| advanced/interfacing_with_c/numpy_shared/test_cos_doubles\.py$
6162
| advanced/interfacing_with_c/swig.*\.py$
63+
| advanced/advanced_numpy/examples/myobject_test\.py$
6264
| advanced/interfacing_with_c/numpy_shared/test_cos_doubles\.py$
65+
| advanced/interfacing_with_c/numpy_c_api/test_cos_module_np\.py$
66+
| intro/numpy/solutions/2_a_call_fortran\.py$
67+
| advanced/advanced_numpy/examples/mandelplot\.py$
6368
)
6469
6570
- repo: https://github.com/codespell-project/codespell

pyproject.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ warn_unreachable = true
77
exclude = '''
88
(?x)(
99
^build/
10-
| ^advanced/.*/setup\.py$
10+
| .*/setup.*\.py$
1111
| .*/demo.py$
1212
| .*/auto_examples/
1313
| advanced/mathematical_optimization/examples/plot_gradient_descent\.py$
@@ -17,8 +17,11 @@ exclude = '''
1717
| advanced/interfacing_with_c/cython_numpy/test_cos_doubles\.py$
1818
| advanced/interfacing_with_c/numpy_shared/test_cos_doubles\.py$
1919
| advanced/interfacing_with_c/swig.*\.py$
20+
| advanced/advanced_numpy/examples/myobject_test\.py$
2021
| advanced/interfacing_with_c/numpy_shared/test_cos_doubles\.py$
22+
| advanced/interfacing_with_c/numpy_c_api/test_cos_module_np\.py$
2123
| intro/numpy/solutions/2_a_call_fortran\.py$
24+
| advanced/advanced_numpy/examples/mandelplot\.py$
2225
)
2326
'''
2427

@@ -53,6 +56,10 @@ ignore_missing_imports = true
5356
module = "statsmodels.*"
5457
ignore_missing_imports = true
5558

59+
[[tool.mypy.overrides]]
60+
module = "pyamg.*"
61+
ignore_missing_imports = true
62+
5663
[tool.pytest.ini_options]
5764
minversion = "8.2"
5865
doctest_optionflags = "NUMBER NORMALIZE_WHITESPACE ELLIPSIS"

0 commit comments

Comments
 (0)