-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
82 lines (70 loc) · 1.83 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
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=58", "wheel", 'pybind11>=2.11', 'cmake']
[project]
authors = [
{name = "Vincent Deo", email = "[email protected]"},
]
dependencies = [
"docopt",
"libtmux",
"numpy",
"tqdm",
"astropy",
]
description = "Python bindings and utilities to use with MILK and CACAO"
name = "pyMilk"
readme = "README.md"
version = "1.2"
[project.urls]
"Homepage" = "http://www.github.com/milk-org/pyMilk"
[tool.setuptools]
packages = ["pyMilk"]
script-files = [
"pyMilk/visual/shmPlot.py",
"pyMilk/visual/shmImshow.py",
"pyMilk/scripts/zmq_send.py",
"pyMilk/scripts/zmq_recv.py",
"pyMilk/scripts/updatekw",
"pyMilk/scripts/creashmim",
"pyMilk/visual/shmTermshow.py"
]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
[tool.pyright]
extraPaths = ["/home/vdeo/src/swmain",] # Need to list scexao's pip install -e packages...
typeCheckingMode = "basic" # off | basic | standard | strict # Look there https://github.com/microsoft/pyright/blob/main/docs/configuration.md
include = ["pyMilk"]
exclude = ["build/",
"**/__pycache__",
"**/.mypy_cache",
"**/.pytest_cache",
"ImageStreamIO",
".eggs",
"pyMilk/visual", # TODO LATER
"*ctypes*"
]
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.10"
pythonPlatform = "Linux"
[tool.coverage.run]
command_line = "-m pytest"
branch = true
source = ["./pyMilk"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"pass",
"raise ImportError",
]
ignore_errors = true
omit = [
"tests/*",
"setup.py",
]