-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.cfg
61 lines (55 loc) · 1.25 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
[metadata]
name = firecrown
version = attr: firecrown.version.__version__
author = DESCs Firecrown Developers
description = DESC Cosmology Likelihood Framework
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/LSSTDESC/firecrown
license_files = LICENSE
[options]
include_package_data = True
packages = find:
python_requires = >=3.10
install_requires =
astropy
cosmosis
cobaya
fitsio
numpy
scipy
numcosmo_py
pandas
pyccl
pydantic
sacc
pyyaml
[options.packages.find]
exclude =
examples*
tests*
tutorial*
docs*
[flake8]
max_complexity=10
max_line_length=88
ignore=D107, D401, D402, W503
per-file-ignores =
examples/srd_sn/generate_sn_data.py:E501
tests/*.py:D100,D102,D103,D104,D200,D202,D205,D209,D400
[mypy]
ignore_missing_imports = True
check_untyped_defs = True
exclude = build|docs|.venv|venv
warn_unused_configs = True
warn_redundant_casts = True
warn_unused_ignores = True
no_implicit_optional = True
strict_equality = True
extra_checks = True
disallow_subclassing_any = True
disallow_untyped_decorators = True
explicit_package_bases = True
#disallow_any_generics = True
[mypy-firecrown.connector.cobaya.*]
disallow_subclassing_any = False