-
Notifications
You must be signed in to change notification settings - Fork 182
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (65 loc) · 2.2 KB
/
pyproject.toml
File metadata and controls
75 lines (65 loc) · 2.2 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
[build-system]
requires = ["setuptools>=77", "packaging>=24.2", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "camb"
authors = [
{ name = "Antony Lewis" },
]
description = "Code for Anisotropies in the Microwave Background"
keywords = ['cosmology', 'CAMB', 'CMB']
readme = "docs/README_pypi.rst"
license = "LicenseRef-LGPLv3-arxiv"
license-files = ["LICENCE.txt"]
dynamic = ["version"]
requires-python = ">=3.10.0"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Astronomy",
"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",
]
dependencies = [
"numpy>=1.22", "scipy>=1.0", "sympy>=1.0", "packaging>=24.2"
]
[project.optional-dependencies]
docs = ["sphinx>=4.0", "sphinx_rtd_theme>=1.0", "sphinxcontrib-jquery", "sphinx_markdown_builder", "jupytext"]
dev = ["ruff>=0.11.0", "pre-commit>=3.0.0"]
[project.scripts]
camb = "camb._command_line:run_command_line"
[project.urls]
Homepage = "https://camb.info"
Documentation = "https://camb.readthedocs.io"
Source = "https://github.com/cmbant/camb"
Tracker = "https://github.com/cmbant/camb/issues"
Licensing = "https://github.com/cmbant/camb/blob/master/LICENCE.txt"
[tool.setuptools.dynamic]
version = { attr = "camb.__version__" }
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
extend-select = ["I"]
preview = false
[tool.ruff.lint.per-file-ignores]
"camb/__init__.py" = ["F401", "E402"]
"camb/emission_angle.py" = ["E741"]
"fortran/tests/CAMB_test_files.py" = ["E731"]
"**/*.ipynb" = ["F405", "E501", "F403", "E402"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
skip-magic-trailing-comma = false
docstring-code-format = true
[tool.flake8]
select = [
"E713", "E704", "E703", "E714", "E741", "E10", "E11", "E20", "E22", "E23", "E25", "E27",
"E301", "E302", "E304", "E9", "F405", "F406", "F5", "F6", "F7", "F8", "W1", "W2", "W3", "W6"
]