-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
94 lines (84 loc) · 2.38 KB
/
pyproject.toml
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
[project]
name = "cli2gui"
version = "2025"
description = "Use this module to convert a cli program to a gui"
authors = [{ name = "FredHappyface" }]
requires-python = ">=3.9"
readme = "README.md"
license = "mit"
classifiers = [
"Environment :: Console",
"Environment :: MacOS X",
"Environment :: Web Environment",
"Environment :: Win32 (MS Windows)",
"Environment :: X11 Applications :: Qt",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
]
dependencies = [
"dearpygui>=2.0.0",
"getostheme>=2024.0.1",
"pillow>=11.1.0",
"pyyaml>=6.0.2",
]
[project.optional-dependencies]
psg = ["pysimplegui<6,>=5.0.3"]
fsg = ["freesimplegui<6,>=5.1.1"]
# fsgweb = ["freesimpleguiWeb>=1.0.0"]
# fsgqt = ["freesimpleguiQt>=1.0.0"]
web = ["PySimpleGUIWeb<2,>=0.39.0"]
qt = ["PySimpleGUIQt<6,>=5.0.0"]
pandoc = ["catpandoc<2026,>=2024"]
[project.urls]
Homepage = "https://github.com/FHPythonUtils/Cli2Gui"
Repository = "https://github.com/FHPythonUtils/Cli2Gui"
Documentation = "https://github.com/FHPythonUtils/Cli2Gui/blob/master/README.md"
[dependency-groups]
dev = [
"click>=8.1.8",
"coverage>=7.6.12",
"dephell-argparse>=0.1.3",
"docopt>=0.6.2",
"handsdown>=2.1.0",
"pyright>=1.1.394",
"pytest>=8.3.4",
"ruff>=0.9.6",
"safety>=3.3.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 100
indent-width = 4
target-version = "py38"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN401", # allow dynamically typed expressions (typing.Any)
"COM812", # enforce trailing comma
"D2", # pydocstyle formatting
"ISC001",
"N802", "N803", "N806", "N812", "N813", "N815", # pep8 naming
"PLR09", # pylint refactor too many
"TCH", # type check blocks
"W191" # ignore this to allow tabs
]
fixable = ["ALL"]
[tool.ruff.lint.per-file-ignores]
"**/{tests,docs,tools}/*" = ["D", "S101", "E402", "T201", "ERA001"]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all" # Disallow all relative imports.
[tool.ruff.format]
indent-style = "tab"
docstring-code-format = true
line-ending = "lf"
[tool.pyright]
venvPath = "."
venv = ".venv"