-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (102 loc) · 2.92 KB
/
pyproject.toml
File metadata and controls
112 lines (102 loc) · 2.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[project]
name = 'PEtab-GUI'
dynamic = ["version"]
readme = "README.md"
requires-python = ">=3.11"
authors = [
{name = "Paul Jonas Jost", email = "jost.pauljonas@gmail.com"},
{name = "Frank T. Bergmann", email = "frank.thomas.bergmann@gmail.com"}
]
maintainers = [
{name = "Paul Jonas Jost", email = "jost.pauljonas@gmail.com"},
{name = "Frank T. Bergmann", email = "frank.thomas.bergmann@gmail.com"}
]
description = "Graphical user interface for the PEtab format"
dependencies = [
"pyside6",
"pandas",
"antimony",
"python-libsbml",
"matplotlib",
"petab[combine]>=0.6.0",
"qtawesome",
"copasi-basico",
"copasi-petab-importer",
"pyobjc; sys_platform == 'darwin'"
]
license-files = ["LICENSE"]
[build-system]
requires = [
"setuptools>=80",
"setuptools-scm>=8",
]
[project.optional-dependencies]
doc = [
"sphinx",
"sphinx-rtd-theme",
"myst-parser",
"sphinx_copybutton",
"sphinx-design",
"sphinxcontrib-youtube",
]
[project.urls]
Repository = "https://github.com/PEtab-dev/PEtabGUI"
Issues = "https://github.com/PEtab-dev/PEtabGUI/issues"
[project.gui-scripts]
petab_gui="petab_gui:main"
[project.scripts]
petab_gui_cli="petab_gui:main"
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
"petab_gui.assets" = ["PEtab.png"]
"petab_gui.example" = ["*/*.yaml", "*/*.yml", "*/*.tsv", "*/*.csv", "*/*.xml", "*/*.sbml"]
[tool.setuptools_scm]
[tool.ruff]
line-length = 79
lint.select = [
"F", # Pyflakes
"I", # isort
"D", # pydocstyle (PEP 257)
"S", # flake8-bandit
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"T20", # flake8-print
"W", # pycodestyle Warnings
"E", # pycodestyle Errors
"UP", # pyupgrade
"ERA",
"A", # flake8-builtins
"RET", # flake8-return
"SIM", # flake8-simplify
]
lint.ignore = [
"D107", # Ignore missing docstring in __init__.py files
"D102", # Ignore missing docstring in public methods
"D103", # Ignore missing docstring in public functions
"D401", # Ignore imperative mood in docstrings
"D100", # Ignore missing docstring in public modules
"D101", # Ignore missing docstring in public classes
"F401",
# FIXME: those are ignored for now, should be fixed eventually
"E501", # Ignore line too long
"ERA001", # Found commented-out code
"RET504", # Unnecessary assignment before `return`
"T201", # `print` found"
"SIM105", # Use `contextlib.suppress`
"S110", # `try`-`except`-`pass` detected, consider logging the exception
"A002", # Function argument shadowing a Python builtin
"E701", # Multiple statements on one line (colon)
"E741", # Ambiguous variable name
]
[tool.ruff.lint.per-file-ignores]
"*/__init__.py" = [
"F401",
"D400",
"D205",
]
"docs/source/conf.py" = [
"A001", # Variable `copyright` is shadowing a Python builtin
]
[tool.ruff.lint.pydocstyle]
convention = "pep257"