-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (78 loc) · 2.04 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (78 loc) · 2.04 KB
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
[build-system]
requires = ['hatchling', 'hatch-vcs']
build-backend = 'hatchling.build'
[project]
name = 'FastQuat'
dynamic = ['version']
description = 'High-performance quaternions with JAX support'
authors = [{name = 'Pierre Chanial', email = 'chanial@apc.in2p3.fr'}]
license = 'MIT'
readme = 'README.md'
classifiers = [
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Astronomy',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Physics',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
]
requires-python = '>=3.10'
dependencies = [
'jax>=0.4.0',
'typing-extensions; python_version < "3.11"',
]
[project.urls]
homepage = 'https://fastquat.readthedocs.io'
repository = 'https://github.com/CMBSciPol/fastquat'
[dependency-groups]
dev = [
{include-group = 'docs'},
'pytest>=9.0',
'pytest-notebook>=0.10',
'visu-hlo',
]
docs = [
'sphinx>=7.0.0',
'sphinx-rtd-theme>=1.3.0',
'myst-parser>=2.0.0',
'nbsphinx>=0.9.0',
'jupyter>=1.0.0',
'matplotlib>=3.7.0',
'numpy>=1.24.0',
'pillow>=9.0.0',
]
cuda12 = ['jax[cuda12]>=0.4']
cuda13 = ['jax[cuda13]>=0.7; python_version>="3.11"']
[tool.hatch.version]
source = 'vcs'
[tool.pytest]
nb_test_files = true
nb_diff_ignore = [
'/cells/*/execution_count',
'/cells/*/outputs',
'/metadata/language_info',
]
filterwarnings = [
'ignore::pytest.PytestRemovedIn9Warning',
]
[tool.ruff]
line-length = 100
fix = true # autofix issues
force-exclude = true # useful with ruff-pre-commit plugin
src = ['src', 'tests']
[tool.ruff.lint]
select = [
'E', # pycodestyle-errors
'F', # pyflakes
'I', # isort
'UP', # pyupgrade
'T10', # flake8-debugger
]
[tool.ruff.format]
quote-style = 'single'
[tool.uv]
cache-keys = [{ git = true }]