-
Notifications
You must be signed in to change notification settings - Fork 0
/
.nengobones.yml
93 lines (81 loc) · 2.12 KB
/
.nengobones.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
project_name: pytest-allclose
pkg_name: pytest_allclose
repo_name: nengo/pytest-allclose
description: Pytest fixture extending Numpy's allclose function
copyright_start: 2019
license: mit
main_branch: main
license_rst: {}
contributing_rst: {}
contributors_rst: {}
manifest_in: {}
setup_py:
python_requires: ">=3.5"
install_req:
- numpy>=1.11
- pytest
docs_req:
- nbsphinx>=0.6.0
- nengo_sphinx_theme>1.2.2
- numpydoc>=0.9.2
- sphinx
tests_req:
- codespell
- coverage>=4.3
- flake8
- gitlint
- pylint
entry_points:
pytest11:
- "allclose = pytest_allclose.plugin"
classifiers:
- "Development Status :: 5 - Production/Stable"
- "Framework :: Pytest"
- "Programming Language :: Python :: 3 :: Only"
- "Programming Language :: Python :: 3.5"
- "Programming Language :: Python :: 3.6"
- "Programming Language :: Python :: 3.7"
setup_cfg:
pylint:
disable:
- consider-using-f-string
pytest:
addopts:
- "--cov"
- "--cov-append"
allclose_tolerances:
- test_tolerances_big atol=0.01 rtol=0.2
- "test_tolerances_small atol=0.001 rtol=0.005 # test comment"
- test_parametrized[True] atol=0.1 rtol=0.2 # parametrized with big tols
- test_parametrized[False] atol=0.001 rtol=0.002 # and with small tols
- test_precedence[1] atol=1 rtol=2 # correct, specific first
- test_precedence* atol=2 rtol=4 # general, should work for 2
- test_precedence[3] atol=3 rtol=6 # incorrect, specific after general
- test_multiple_tolerances atol=0.001 rtol=0.004
- test_multiple_tolerances atol=0.01 rtol=0.05
- test_multiple_tolerances atol=0.002 rtol=0.005
pylint:
disable:
- consider-using-f-string
coverage:
omit_files:
- "*/setup.py"
docs_conf_py:
nengo_logo: general-small-light.svg
one_page: True
ci_scripts:
- template: static
- template: test
coverage: true
pip_install:
- $NUMPY_VERSION
- template: docs
- template: deploy
wheel: true
pre_commit_config_yaml: {}
pyproject_toml: {}
version_py:
major: 1
minor: 0
patch: 1
release: false