-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
91 lines (83 loc) · 1.47 KB
/
setup.cfg
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
[metadata]
name = diffeqzoo
description = Ordinary differential equation zoo
author = Nicholas Krämer
author_email = nicholas.kraemer@uni-tuebingen.de
license = MIT
license_file = LICENSE
long_description = file: README.md
long_description_content_type = text/markdown
[options]
packages = find:
python_requires = >=3.8
[options.extras_require]
numpy =
numpy
jax =
jax[cpu]
test =
pytest
pytest-randomly
pytest-cases
%(jax)s
%(numpy)s
lint =
flake8
flake8-docstrings
isort
black
nbqa
jupytext
pylint
example =
jupyter
matplotlib
scipy
jupytext
diffrax
[flake8]
exclude = .git,__pycache__,docs/source/conf.py,old,build,dist
max-line-length = 88
docstring-convention = numpy
ignore =
# All formatting issues are taken care of by black
E203
per-file-ignores =
# Docstrings are not required in tests
tests/*:D103
# Docstrings not required in notebooks, dev docs, etc.
docs/*:D100,D103
[isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
[black]
include = '\.pyi?$'
exclude = '''
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist'''
[pytest.ini_options]
addopts =
"--verbose"
"--doctest-modules"
norecursedirs =
".*"
"*.egg*"
"dist"
"build"
".tox"
testpaths =
"diffeqzoo"
"tests"
doctest_optionflags =
"NUMBER NORMALIZE_WHITESPACE"