-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.cfg
More file actions
31 lines (20 loc) · 787 Bytes
/
setup.cfg
File metadata and controls
31 lines (20 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[aliases]
test=pytest
[bdist_wheel]
# This flag says that the code is written to work on both Python 2 and Python
# 3. If at all possible, it is good practice to do this. If you cannot, you
# will need to generate wheels for each Python version that you support.
universal=0
[metadata]
description-file = README.md
[tool:pytest]
python_files =
tests/test*.py
tests/test*.ipynb
# Note pytest with notebook plugin:
# conda install -c conda-forge pytest-notebook
# nb_test_files=0
# The unit tests in a notebook - run it and check that it still produces the
# same result as is checked in ! Very simple but unlikely to work for complex examples.
# This is probably most helpful for testing notebook-specific code rather than checking
# that the notebooks all run.