forked from simonsobs/SOLikeT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
70 lines (64 loc) · 1.8 KB
/
setup.cfg
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
[metadata]
name = soliket
author = simonsobs
version = 0.1.dev
description = "SO Likelihoods & Theories"
long_description = file: README.rst
url = https://github.com/simonsobs/SOLikeT/
edit_on_github = True
[options]
zip_safe = False
packages = find:
python_requires = >=3.8
setup_requires = setuptools_scm
install_requires =
numpy
scipy
pandas
scikit-learn
astropy
camb
getdist
cobaya
sacc
fgspectra>=1.1.0
syslibrary>=0.2.0
pyhalomodel
[options.package_data]
soliket = *.yaml,*.bibtex,clusters/data/*,clusters/data/selFn_equD56/*,lensing/data/*.txt,lensing/data/*.fits,mflike/*.yaml,tests/*.yaml,data/xcorr_simulated/*.txt,data/CosmoPower/CP_paper/CMB/*.pkl,tests/data/test_bandpass/*,cross_correlation/*.yaml,tests/data/*.fits,halo_model/*.yaml
testpaths = "soliket"
text_file_format = rst
[options.extras_require]
all =
cosmopower
pyccl
docs =
sphinx
sphinx_rtd_theme
[flake8]
select = E713,E704,E703,E714,E741,E10,E11,E20,E22,E23,E25,E262,E27,E301,E302,E304,E9,
F405,F406,F5,F6,F7,F8,E501,W191,F401,W1,W292,W293,W3
max-line-length = 90
exclude = .tox,build,cobaya_packages,test,.eggs
[coverage:run]
omit =
soliket/tests/*
soliket/*/tests/*
*/soliket/tests/*
*/soliket/*/tests/*
[coverage:report]
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about packages we have installed
except ImportError
except ModuleNotFoundError
# Don't complain if tests don't hit assertions
raise AssertionError
raise NotImplementedError
# Don't complain about script hooks
def main\(.*\):
# Ignore branches that don't pertain to this version of Python
pragma: py{ignore_python_version}
# Don't complain about IPython completion helper
def _ipython_key_completions_