-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (87 loc) · 2.5 KB
/
pyproject.toml
File metadata and controls
100 lines (87 loc) · 2.5 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
# ModuleTester setup configuration file
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "ModuleTester"
authors = [{ name = "Codra", email = "p.raybaut@codra.fr" }]
description = "ModuleTester is a test management software for Python packages"
readme = "README.md"
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Topic :: Software Development :: User Interfaces",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: OS Independent",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
requires-python = ">=3.9, <4"
dependencies = [
"guidata >= 3.14",
"QtPy >= 1.9",
"pyqtwebengine",
"pypandoc",
"jinja2",
"beautifulsoup4",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/Codra-Ingenierie-Informatique/ModuleTester/"
Documentation = "https://moduletester.readthedocs.io/en/latest/"
[project.scripts]
moduletester-cli = "moduletester.manager:cli"
[project.gui-scripts]
moduletester = "moduletester.gui.main:run_gui"
[project.optional-dependencies]
dev = ["ruff", "pylint", "pytest", "Coverage", "build", "pypandoc_binary"]
doc = ["PyQt5", "sphinx>6", "pydata_sphinx_theme"]
[tool.setuptools.packages.find]
include = ["moduletester*"]
[tool.setuptools.package-data]
"*" = [
"*.svg",
"*.mo",
"*.txt",
"*.json",
"*.png",
"*.j2",
"*.docx",
"*.odt",
"*.css",
]
[tool.setuptools.dynamic]
version = { attr = "moduletester.__version__" }
[tool.pytest.ini_options]
testpaths = ["moduletester/tests"]
[tool.ruff]
exclude = [".git", ".vscode", "build", "dist", "venv*", ".venv*"]
line-length = 88
indent-width = 4
target-version = "py39"
[tool.ruff.lint]
select = [
"E", # Pycodestyle error
"F", # Pyflakes
"I", # Isort
"W", # Pycodestyle warning
]
ignore = [
"E203", # space before : (needed for how black formats slicing)
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint.per-file-ignores]
"doc/*" = ["E402"]