-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (80 loc) · 2.95 KB
/
pyproject.toml
File metadata and controls
91 lines (80 loc) · 2.95 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[project]
name = "haven-spc"
version = "2025.02.1"
authors = [
{ name="Mark Wolfman", email="wolfman@anl.gov" },
]
description = "Tools and GUI for running the spectroscopy group beamlines at the Advanced Photon Source."
readme = "README.md"
# requires-python = ">=3.14"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering",
"Topic :: System :: Hardware",
]
license = "BSD-3-clause"
keywords = ["synchrotron", "xray", "bluesky"]
dependencies = [
# Managed by pixi
# To-do: what dependencies do we actually need for e.g. pip install.
]
[project.urls]
"Homepage" = "https://haven-spc.readthedocs.io/en/latest/"
"Bug Tracker" = "https://github.com/spc-group/haven/issues"
[project.entry-points."pydm.data_plugin"]
HavenPlugin = "firefly.pydm_plugin:HavenPlugin"
[project.scripts]
haven_config = "haven._iconfig:print_config_value"
[project.gui-scripts]
firefly = "firefly.launcher:main"
firefly_cameras = "firefly.launcher:cameras"
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[tool.hatch.build.targets.wheel]
packages = ["src/haven", "src/firefly", "src/haven_qserver"]
[tool.isort]
profile = "black"
[tool.ruff]
target-version = "py312"
[tool.ruff.lint]
select = ["E9", "F63", "F7", "F82", "F401"]
[tool.versioneer]
VCS = "git"
style = "pep440"
versionfile_source = "src/haven/_version.py"
versionfile_build = "haven/_version.py"
tag_prefix = "haven-"
parentdir_prefix = "haven-"
[tool.mypy]
files = [
'src/haven/',
'tests/haven',
'tests/integration/',
'tests/end_to_end/',
'src/firefly/bss.py', 'tests/firefly/test_bss_display.py',
'src/firefly/energy.py', 'tests/firefly/test_energy_display.py',
'src/firefly/devices/axilon_monochromator.py', 'tests/firefly/devices/test_monochromator.py',
'src/firefly/devices/undulator.py', 'tests/firefly/devices/test_undulator.py',
'src/firefly/plans/count.py', 'tests/firefly/plans/test_count.py',
'src/firefly/plans/duration_label.py', 'tests/firefly/plans/test_duration_label.py',
'src/firefly/plans/metadata.py', 'tests/firefly/plans/test_metadata_widget.py',
'src/firefly/plans/move.py', 'tests/firefly/plans/test_move.py',
'src/firefly/plans/regions.py', 'tests/firefly/plans/test_regions.py',
'src/firefly/plans/display.py', 'tests/firefly/plans/test_display.py',
'src/firefly/plans/line_scan.py', 'tests/firefly/plans/test_line_scan.py',
'src/firefly/plans/grid_scan.py', 'tests/firefly/plans/test_grid_scan.py',
'src/firefly/plans/relative_checkbox.py', 'tests/firefly/test_relative_checkbox.py',
'src/firefly/plans/util.py',
'src/firefly/plans/xafs_scan.py', 'tests/firefly/plans/test_xafs_scan.py',
]
follow_imports = "skip"
follow_untyped_imports = true
exclude = [
# To-do: Get these files to pass the type-checker
"src/haven/devices/srs570.py",
"src/haven/_iconfig.py",
"src/haven/instrument.py",
]