Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion alphaviz/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def create_layout(self):
download_new_version_button,
align='center',
),
background='#eaeaea',
#background='#eaeaea',
align='center',
sizing_mode='stretch_width',
height=190,
Expand Down
135 changes: 135 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
[tool.poetry]
name = "alphaviz"
version = "1.1.8"
description = "alphaviz"
authors = [ "Eugenia Voytik <opensource@alphapept.com>" ]

repository = "https://github.com/MannLabs/alphaviz"
documentation = "https://github.com/Mannlabs/alphaviz"
readme = "README.md"
#package-mode=false
packages = [
{include = "alphaviz", from="."}
]

[tool.poetry.dependencies]
python = ">=3.10,<3.13"

[tool.poetry.group.dev.dependencies]
pytest = "^7.2.0"
pytest-cov = "^4.0.0"
deptry = "^0.16.2"
mypy = "^1.5.1"
pre-commit = "^3.4.0"
tox = "^4.11.1"
alphatims = {path = "../alphatims", develop = true}
panel = "1.6.1"
plotly = "6.0.1"
holoviews = "1.20.2"
datashader = "0.17.0"
beautifulsoup4 = "4.13.3"
bokeh = ">=2.4.2"
matplotlib = ">=3.4.3"
pyteomics = ">=4.5"
requests = ">=2.27.1"
jinja2 = ">=3.0.2"
peptdeep = "1.3.1"
alphabase = "1.6.0"
alpharaw = "0.4.6"
xarray = "2025.3.0"
multipledispatch = "1.0.0"




[tool.poetry.group.docs.dependencies]
mkdocs = "^1.4.2"
mkdocs-material = "^9.2.7"
mkdocstrings = {extras = ["python"], version = "^0.26.1"}

[tool.poetry.scripts]
alphaviz-gui = "alphaviz.gui:run"


[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.mypy]
files = ["alphaviz"]
disallow_untyped_defs = "True"
disallow_any_unimported = "True"
no_implicit_optional = "True"
check_untyped_defs = "True"
warn_return_any = "True"
warn_unused_ignores = "True"
show_error_codes = "True"



[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = [
"."
]
log_cli = true
log_cli_level = "DEBUG"
log_cli_format = "%(message)s"


[tool.ruff]
target-version = "py39"
line-length = 120
fix = true
select = [
# flake8-2020
"YTT",
# flake8-bandit
"S",
# flake8-bugbear
"B",
# flake8-builtins
"A",
# flake8-comprehensions
"C4",
# flake8-debugger
"T10",
# flake8-simplify
"SIM",
# isort
"I",
# mccabe
"C90",
# pycodestyle
"E", "W",
# pyflakes
"F",
# pygrep-hooks
"PGH",
# pyupgrade
"UP",
# ruff
"RUF",
# tryceratops
"TRY",
]
ignore = [
# LineTooLong
"E501",
# DoNotAssignLambda
"E731",
]

[tool.ruff.format]
preview = true

[tool.coverage.report]
skip_empty = true

[tool.coverage.run]
branch = true
source = ["alphaviz"]


[tool.ruff.per-file-ignores]
"tests/*" = ["S101"]