-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
106 lines (94 loc) · 2.37 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
[build-system]
build-backend = 'setuptools.build_meta'
requires = ['setuptools==69.2.0', 'setuptools_scm[toml]>=6.2', 'wheel']
[project]
name = 'furax'
authors = [
{ name = 'Pierre Chanial', email = '[email protected]' },
{ name = 'Simon Biquard', email = '[email protected]' },
]
maintainers = [{ name = 'Pierre Chanial', email = '[email protected]' }]
description = 'Operators and solvers for high-performance computing.'
readme = 'README.md'
keywords = ['scientific computing']
classifiers = [
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering',
]
requires-python = '>=3.10'
license = { file = 'LICENSE' }
dependencies = [
'jaxtyping',
'healpy>=0.16.6',
'jax-healpy',
'jax-dataclasses',
'lineax',
'numpy',
'scipy',
'typing-extensions; python_version < "3.11"',
'matplotlib',
'astropy',
]
dynamic = ['version']
[project.optional-dependencies]
dev = ['pytest', 'pytest-cov', 'pytest-mock', 'setuptools_scm', 'beartype']
[project.urls]
homepage = 'https://scipol.in2p3.fr'
repository = 'https://github.com/CMBSciPol/furax'
[tool.coverage.report]
exclude_lines = [
'pragma: no cover',
'except ImportError:',
'raise NotImplementedError',
'if typing.TYPE_CHECKING:',
]
show_missing = true
skip_covered = true
[[tool.mypy.overrides]]
module = [
'healpy',
'jax_healpy',
'lineax',
'scipy.stats.sampling',
'scipy',
'astropy.cosmology',
]
ignore_missing_imports = true
[tool.pytest.ini_options]
# addopts = '-ra --cov=furax --jaxtyping-packages=furax,beartype.beartype(conf=beartype.BeartypeConf(strategy=beartype.BeartypeStrategy.On))'
addopts = '-s -ra --color=yes'
testpaths = ['tests']
markers = ["slow: mark test as slow."]
#[tool.setuptools]
#packages = ['src/furax']
[tool.setuptools_scm]
version_scheme = 'post-release'
fallback_version = '0.0.0'
[tool.ruff]
line-length = 100
src = ["src"]
[tool.ruff.lint]
select = [
# pycodestyle
'E',
# pyflakes
'F',
# pyupgrade
'UP',
# flake8-debugger
'T10',
]
ignore = [
'E203',
'E731',
'E741',
'F722',
'UP037', # conflicts with jaxtyping Array annotations
]
[tool.ruff.lint.per-file-ignores]
"src/furax/core/_base.py" = ['E743']
[tool.ruff.format]
quote-style = 'single'