-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (62 loc) · 1.54 KB
/
pyproject.toml
File metadata and controls
72 lines (62 loc) · 1.54 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
[project]
name = "xlens"
license = {file = "LICENSE"}
readme = "README.md"
authors = [
{ name = "Xiangchong Li", email = "mr.superonion@hotmail.com" }
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
dynamic = ["version"]
dependencies = [
"ipykernel", # Support for Jupyter notebooks
]
[project.optional-dependencies]
flexcode = ["flexcode"]
[project.urls]
"Source Code" = "https://github.com/mr-superonion/xlens"
[build-system]
requires = [
"setuptools>=62",
"setuptools_scm>=6.2",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "dirty-tag"
write_to = "xlens/__version__.py"
[tool.pytest.ini_options]
testpaths = [
"tests/",
"examples/shear/",
"examples/cluster/",
]
addopts = "--nbval --nbval-lax --nbval-current-env -vv -s"
[tool.black]
line-length = 80
target-version = ["py311"]
[tool.isort]
profile = "black"
line_length = 80
[tool.flake8]
ignore = [
"N801", "N802", "N803", "N806", "N815", "N816", "W503", "W504",
"E133", "E203", "E303", "E731", "E226", "E228", "N812", "N815"
]
exclude = [".git", "__pycache__", "docs", "build", "dist"]
max-line-length = 80
[tool.coverage.run]
source = ["xlens"]
omit = ["xlens/__version__.py"]
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.",
"raise NotImplementedError",
]