ophyd_devices/pyproject.toml
semantic-release f5366e453f 0.32.0
Automatically generated by python-semantic-release
2024-04-19 15:14:24 +00:00

108 lines
2.2 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ophyd_devices"
version = "0.32.0"
description = "Custom device implementations based on the ophyd hardware abstraction layer"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
]
dependencies = [
"ophyd~=1.9",
"typeguard~=4.0",
"prettytable~=3.9",
"bec_lib~=2.0",
"numpy~=1.24",
"pyyaml~=6.0",
"std_daq_client~=1.3",
"pyepics~=3.5",
"pytest~=8.0",
"h5py~=3.10",
"hdf5plugin~=4.3",
]
[project.optional-dependencies]
dev = [
"black~=24.0",
"isort~=5.0",
"coverage~=7.4",
"pylint~=3.0",
"pytest-random-order~=1.0",
]
[project.scripts]
ophyd_test = "ophyd_devices:launch"
[project.urls]
"Bug Tracker" = "https://gitlab.psi.ch/bec/ophyd_devices/issues"
Homepage = "https://gitlab.psi.ch/bec/ophyd_devices"
documentation = "https://bec.readthedocs.org"
changelog = "https://gitlab.psi.ch/bec/ophyd_devices/blob/main/CHANGELOG.md"
[tool.hatch.build.targets.wheel]
include = ["*"]
[tool.isort]
profile = "black"
line_length = 100
multi_line_output = 3
include_trailing_comma = true
[tool.black]
line-length = 100
skip-magic-trailing-comma = true
[tool.pylint.basic]
# Good variable names regexes, separated by a comma. If names match any regex,
# they will always be accepted
good-names-rgxs = [
".*scanID.*",
".*RID.*",
".*pointID.*",
".*ID.*",
".*_2D.*",
".*_1D.*",
]
[tool.semantic_release]
build_command = "python -m build"
version_toml = ["pyproject.toml:project.version"]
[tool.semantic_release.commit_author]
env = "GIT_COMMIT_AUTHOR"
default = "semantic-release <semantic-release>"
[tool.semantic_release.commit_parser_options]
allowed_tags = [
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"style",
"refactor",
"test",
]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]
default_bump_level = 0
[tool.semantic_release.remote]
name = "origin"
type = "gitlab"
ignore_token_for_push = false
[tool.semantic_release.remote.token]
env = "GL_TOKEN"
[tool.semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = true