diff --git a/alphaviz/gui.py b/alphaviz/gui.py index 3b9a8e8..8903519 100644 --- a/alphaviz/gui.py +++ b/alphaviz/gui.py @@ -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, diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..96c6e31 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,135 @@ +[tool.poetry] +name = "alphaviz" +version = "1.1.8" +description = "alphaviz" +authors = [ "Eugenia Voytik " ] + +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"]