generated from sfarrens/pyralid-template
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (99 loc) · 2.34 KB
/
pyproject.toml
File metadata and controls
105 lines (99 loc) · 2.34 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[project]
name = "sp_validation"
version = "0.6.0"
description = "Validation of weak-lensing catalogues (galaxy and star shapes and other parameters) produced by ShapePipe"
authors = [
{name = "Martin Kilbinger", email = "martin.kilbinger@cea.fr"},
{name = "Cail Daley", email = "cail.daley@cea.fr"},
{name = "Sacha Guerrini", email = "sacha.guerrini@cea.fr"},
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Operating System :: Unix",
"Operating System :: MacOS"
]
dependencies = [
"adjustText",
"astropy>=5.0",
"camb",
"clmm",
"colorama",
"cs_util>=0.1.5",
"emcee",
"getdist @ git+https://github.com/benabed/getdist.git@upper_triangle_whisker",
"h5py",
"healpy",
"healsparse",
"importlib_metadata",
"joblib>=0.13",
"jupyter",
"jupyterlab",
"jupytext==1.15.1",
"lenspack",
"lmfit",
"numexpr",
"numpy>=2.0",
"opencv-python-headless",
"pyccl",
"pyarrow",
"pymaster",
"regions",
"reproject",
"scipy",
"seaborn",
"shear_psf_leakage @ git+https://github.com/CosmoStat/shear_psf_leakage.git@develop",
"skyproj",
"statsmodels",
"treecorr>=5.0",
"tqdm",
"uncertainties"
]
[project.urls]
Homepage = "https://github.com/CosmoStat/sp_validation"
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"ruff"
]
docs = [
"jupyter==1.0.0",
"myst-parser==0.16.1",
"nbsphinx==0.8.7",
"nbsphinx-link==1.3.0",
"numpydoc==1.1.0",
"sphinx==4.3.1",
"sphinxcontrib-bibtex==2.4.1",
"sphinxawesome-theme==3.2.1"
]
develop = ["sp_validation[test,docs]"]
[tool.pytest.ini_options]
testpaths = ["sp_validation"]
addopts = [
"--verbose",
"--cov=sp_validation",
"--cov-report=term",
"--cov-report=xml",
"--junitxml=pytest.xml"
]
markers = [
"fast: marks tests as fast (deselect with '-m \"not fast\"')",
"slow: marks tests as slow (deselect with '-m \"not slow\"')"
]
[tool.ruff]
line-length = 88
target-version = "py38"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
]
ignore = [
"E712", # comparison to True should be 'if cond is True:' or 'if cond:'
]