-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
69 lines (60 loc) · 1.82 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
[project]
name = "typstwriter"
description = "An integrated editor for the typst typesetting system."
authors = [{name = "Bzero", email = "[email protected]"}]
readme = "README.md"
license = {text = "MIT License"}
requires-python = ">=3.10"
keywords = ["typst"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Environment :: X11 Applications :: Qt",
"Intended Audience :: End Users/Desktop",
"Topic :: Text Editors",
"Topic :: Text Editors :: Word Processors",
]
dependencies = [
"qtpy >= 2.3",
"pyside6 >= 6.4.0",
"pygments >= 2.18",
"platformdirs >= 4.0"
]
dynamic = ["version"]
[project.optional-dependencies]
tests = [
"pytest",
"pytest-qt",
"fpdf"
]
[project.urls]
Repository = "https://github.com/Bzero/typstwriter"
[project.gui-scripts]
typstwriter = "typstwriter.typstwriter:main"
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[tool.ruff]
line-length = 128
indent-width = 4
[tool.ruff.lint]
select = ["E", "F", "W", "N", "D", "Q", "PL", "R", "C", "B", "C4", "G", "PT", "RET", "RUF", "SIM", "UP"]
ignore = ["D212", "D203", "D400", "RET505", "D100", "PLR0915", "RET504", "PLE1205", "UP015", "PLC2401", "PLR0913", "PT001"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = false
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["N802"]
[tool.pytest.ini_options]
minversion = "6.0"
pythonpath = "."
testpaths = "tests"
log_cli_level = "INFO"
xfail_strict = true
addopts = ["-r all", "--strict-config", "--strict-markers"]
filterwarnings = ["error",
"ignore:Failed to disconnect .* from signal:RuntimeWarning",
"ignore:GObject.GError is deprecated; use GLib.GError instead"]