File tree Expand file tree Collapse file tree 3 files changed +14
-18
lines changed Expand file tree Collapse file tree 3 files changed +14
-18
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ SSH_TARGET_DIR=
16
16
17
17
SHELL := /bin/bash
18
18
19
- .PHONY : help clean html web pickle htmlhelp latex changes linkcheck zip check-rsync-env
19
+ .PHONY : help clean html web pickle htmlhelp latex changes linkcheck zip check-rsync-env test
20
20
21
21
all : html-noplot
22
22
Original file line number Diff line number Diff line change
1
+ [tool .pytest .ini_options ]
2
+ doctest_optionflags = " NUMBER NORMALIZE_WHITESPACE ELLIPSIS"
3
+ filterwarnings = [
4
+ " error" ,
5
+ " ignore:FigureCanvasAgg is non-interactive:UserWarning" ,
6
+ " ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning" ,
7
+ " ignore:'scipy.sparse.linalg.cg' keyword argument:DeprecationWarning" ,
8
+ ]
9
+ addopts = " --ignore=advanced/advanced_numpy/examples/myobject_test.py --ignore=advanced/interfacing_with_c/ctypes_numpy/test_cos_doubles.py --ignore=advanced/interfacing_with_c/cython_numpy/test_cos_doubles.py --ignore=advanced/interfacing_with_c/numpy_c_api/test_cos_module_np.py --ignore=advanced/interfacing_with_c/numpy_shared/test_cos_doubles.py --ignore=advanced/interfacing_with_c/swig_numpy/test_cos_doubles.py --ignore=intro/scipy/examples/plot_t_test.py"
10
+
11
+ [tool .ruff ]
1
12
target-version = " py310"
2
13
3
- [lint ]
14
+ [tool . ruff . lint ]
4
15
select = [
5
16
" B" , # flake8-bugbear
6
17
" C4" , # flake8-comprehensions
@@ -46,5 +57,5 @@ ignore = [
46
57
" SIM115" # Use context handler for opening files
47
58
]
48
59
49
- [format ]
60
+ [tool . ruff . format ]
50
61
docstring-code-format = true
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments