-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
114 lines (107 loc) · 2.85 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
[tool.poetry]
authors = [
"Ismael Mendoza <imendoza@umich.edu>",
"Runjing Liu",
"Derek Hansen",
"Yash Patel",
"Ziteng Pang",
"Zhe Zhao",
"Mallory Wang",
"Cheng Wang",
"Jeffrey Regier",
]
description = "Bayesian Light Source Separator"
documentation = "https://prob-ml.github.io/bliss/"
keywords = ["cosmology", "blending", "weak lensing", "bayesian", "ml", "pytorch"]
license = "MIT"
name = "bliss-toolkit"
packages = [{include = "bliss"}]
readme = "README.md"
repository = "https://github.com/prob-ml/bliss"
version = "0.4"
[tool.poetry.scripts]
bliss = "bliss.main:main"
[tool.poetry.dependencies]
python = "^3.10"
numpy = ">=1.18.5"
scipy = ">=1.4.1"
matplotlib = ">=3.3.3"
requests = "^2.31.0"
torch = "^2.3.1"
torchvision = "^0.18.1"
torchmetrics = "^1.4.0.post0"
pytorch-lightning = "^2.3.3"
einops = "^0.8.0"
hydra-core = ">=1.0.4"
astropy = "^6.1.1"
galsim = ">=2.4.10"
reproject = ">=0.11.0"
pyvo = "^1.4.1"
colossus = "^1.3.5"
[tool.poetry.dev-dependencies]
Cython = ">=0.29.21"
Sphinx = ">=4.0.2"
black = ">=22.3.0"
darglint = ">=1.8.1"
flake8 = ">=4.0.1"
flake8-docstrings = ">=1.6.0"
git-lfs = ">=1.6"
ipykernel = "^6.21.0"
isort = ">=5.9.3"
jupyter = ">=1.0.0"
jupyter_contrib_nbextensions = ">=0.5.1"
nbstripout = ">=0.5.0"
plotly = ">=4.14.3"
pre-commit = ">=2.9.2"
pre-commit-hooks = "^4.4.0"
pylint = ">=2.6.0"
pytest-cov = ">=2.10"
sphinx-rtd-theme = ">=0.5.2"
torch-tb-profiler = "^0.4.1"
tqdm = ">=4.62.3"
wemake-python-styleguide = ">=0.16.1"
nbsphinx = "^0.9.2"
pypandoc = "^1.11"
types-requests = "^2.31.0.1"
scikit-learn = ">=0.24.2"
seaborn = "^0.13.0"
lsstdesc-gcr-catalogs = "^1.7.0"
pyarrow = "^15.0.0"
hmf = "^3.4.4"
healpy = "^1.16.6"
h5py = "^3.11.0"
pyclean = "^3.0.0"
pathos = "^0.3.2"
pytest = "^8.2.2"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[tool.black]
line-length = 100
target-version = ['py310']
[tool.isort]
multi_line_output = 3
profile = "black"
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 100
[tool.pytest.ini_options]
addopts = "-ra"
filterwarnings = [
"ignore:.*does not have many workers which may be a bottleneck.*:UserWarning",
"ignore:GPU available but not used.*:UserWarning",
"ignore:numpy.ndarray size changed:RuntimeWarning",
"ignore:.*when logging on epoch level in distributed setting.*",
"ignore:.*pkg_resources.declare_namespace.*:DeprecationWarning",
"ignore:.*distutils Version classes are deprecated.*:DeprecationWarning",
"ignore:.*Total length of `DataLoader` across ranks is zero.*:UserWarning",
"ignore:.*Total length of `CombinedLoader` across ranks is zero.*:UserWarning",
"ignore:.*Detected call of `lr_scheduler.step()` before `optimizer.step()`.*:UserWarning",
"ignore:.*AMP with fp16 is not supported on CPU.*:UserWarning",
]
minversion = "6.0"
testpaths = [
"tests",
]