61 lines
1.1 KiB
TOML
61 lines
1.1 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "mx_bec"
|
|
version = "0.0.1"
|
|
description = "A shared repository for MX BEC components"
|
|
requires-python = ">=3.11"
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Programming Language :: Python :: 3",
|
|
"Topic :: Scientific/Engineering",
|
|
]
|
|
dependencies = []
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"black",
|
|
"copier",
|
|
"isort",
|
|
"coverage",
|
|
"pylint",
|
|
"pytest",
|
|
"pytest-random-order",
|
|
"ophyd_devices",
|
|
"bec_server",
|
|
]
|
|
|
|
[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.ruff]
|
|
line-length = 100
|
|
|
|
[tool.ruff.format]
|
|
skip-magic-trailing-comma = true
|
|
|