mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-28 20:48:43 +01:00
Some checks failed
Build on RHEL9 / build (push) Successful in 3m57s
Build on RHEL8 / build (push) Successful in 4m43s
Run Simulator Tests on local RHEL9 / build (push) Failing after 3m50s
Build on local RHEL9 / build (push) Failing after 1m24s
Run Simulator Tests on local RHEL8 / build (push) Failing after 5m28s
Build on local RHEL8 / build (push) Failing after 3m32s
* added CMakeLists.txt for pyctbgui * using aare decoders * removed c code * showing proper error message * dvjgj --------- Co-authored-by: Erik Fröjdh <erik.frojdh@gmail.com>
90 lines
1.5 KiB
TOML
90 lines
1.5 KiB
TOML
[build-system]
|
|
requires = ["setuptools", "numpy"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "pyctbgui"
|
|
description = "Experimental GUI for the chip test board"
|
|
version = "0.0.0"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"numpy",
|
|
"pyzmq",
|
|
"pillow",
|
|
"PyQt5",
|
|
"pyqtgraph",
|
|
"matplotlib",
|
|
"aare",
|
|
"slsdet",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest==7.4.0",
|
|
"ruff==0.0.285",
|
|
"yapf==0.40.1",
|
|
"pytest-ruff==0.1.1",
|
|
"pre-commit",
|
|
"pytest-qt",
|
|
]
|
|
|
|
[tool.setuptools]
|
|
package-dir = {"" = "pyctbgui"}
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["pyctbgui"]
|
|
|
|
[project.scripts]
|
|
CtbGui = "pyctbgui.main:main"
|
|
|
|
[tool.ruff]
|
|
line-length = 119
|
|
select = ["E","F","UP","PT","RET","SLF","TID","PTH","NPY"]
|
|
# other usefule rules "N" "PL"
|
|
# rules to ignore
|
|
# PTH123 causes issues with gh actions
|
|
ignore = ["UP032","PTH123"]
|
|
|
|
# Exclude a variety of commonly ignored directories.
|
|
exclude = [
|
|
".bzr",
|
|
".direnv",
|
|
".eggs",
|
|
".git",
|
|
".git-rewrite",
|
|
".hg",
|
|
".mypy_cache",
|
|
".nox",
|
|
".pants.d",
|
|
".pytype",
|
|
".ruff_cache",
|
|
".svn",
|
|
".tox",
|
|
".venv",
|
|
"__pypackages__",
|
|
"_build",
|
|
"buck-out",
|
|
"build",
|
|
"dist",
|
|
"node_modules",
|
|
"venv",
|
|
]
|
|
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.per-file-ignores]
|
|
"__init__.py" = ["F401"] # ignore unused import warnings
|
|
|
|
[tool.yapf]
|
|
based_on_style = "pep8"
|
|
COLUMN_LIMIT = 119
|
|
|
|
[tool.coverage.run]
|
|
branch = false
|
|
|
|
[tool.coverage.report]
|
|
include = [
|
|
"pyctbgui/*"
|
|
]
|
|
|