-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
121 lines (106 loc) · 2.61 KB
/
pyproject.toml
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[build-system]
requires = ["setuptools>=62", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "pysindy-experiments"
dynamic = ["version"]
description = "My general exam experiments"
readme = "README.md"
requires-python = ">=3.9"
license = {file = "LICENSE"}
keywords = ["Machine Learning", "Science", "Mathematics", "Experiments"]
authors = [
{email = "[email protected]", name = "Jake Stevens-Haas"}
]
classifiers = [
"Development Status :: 1 - Planning",
"Programming Language :: Python",
"Framework :: Jupyter",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
]
# Since the point of the package is reproducibility, incl. all dev
# dependencies
dependencies = [
"mitosis >=0.5.2",
"derivative @ git+https://github.com/andgoldschmidt/derivative",
"pysindy[cvxpy,miosr] @ git+https://github.com/dynamicslab/pysindy",
"kalman @ git+https://github.com/Jacob-Stevens-Haas/[email protected]",
"auto_ks @ git+https://github.com/cvxgrp/auto_ks.git@e60bcc6",
"pytest >= 6.0.0",
"pytest-cov",
"flake8",
"flake8-comprehensions>=3.1.0",
"matplotlib",
"numpy >= 1.20.0",
"black",
"coverage",
"isort",
"pre-commit",
"codecov",
"seaborn",
"sqlalchemy<2.0",
"tomli",
]
[project.optional-dependencies]
dev = [
"mypy",
]
[project.urls]
homepage = "https://github.com/Jake-Stevens-Haas/gen-experiments"
[project.entry-points.'derivative.hyperparam_opt']
"kalman.gcv" = "gen_experiments.utils:kalman_generalized_cv"
[tool.setuptools_scm]
[tool.black]
line-length = 88
extend-exclude = '''
/(
\.git
| \.mypy_cache
| \.venv
| .vscode
| version.py
| build
| dist
| scratch
| env
)/
'''
preview = true
[tool.codespell]
skip = '*.html,./env,./scratch/*,todo'
ignore-words-list = "nd, aks, ser"
[tool.isort]
profile = "black"
src_paths = ["src/gen_experiments", "tests"]
[tool.pytest.ini_options]
filterwarnings = [
"ignore::RuntimeWarning",
"ignore::UserWarning",]
addopts = '-m "not slow"'
markers = ["slow"]
[tool.mypy]
files = [
"src/gen_experiments/__init__.py",
"src/gen_experiments/utils.py",
"src/gen_experiments/gridsearch/typing.py",
"tests/test_all.py",
"tests/test_gridsearch.py",
]
[[tool.mypy.overrides]]
module="auto_ks.*"
ignore_missing_imports=true
[[tool.mypy.overrides]]
module="sklearn.*"
ignore_missing_imports=true
[[tool.mypy.overrides]]
module="pysindy.*"
ignore_missing_imports=true
[[tool.mypy.overrides]]
module="kalman.*"
ignore_missing_imports=true
[[tool.mypy.overrides]]
module="scipy.*"
ignore_missing_imports=true