-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (60 loc) · 1.58 KB
/
pyproject.toml
File metadata and controls
69 lines (60 loc) · 1.58 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "markdown-reader"
version = "1.0.0"
requires-python = ">=3.11"
dependencies = [
"markdown>=3.5.0",
"markdown2>=2.4.0",
"py2app>=0.28; sys_platform == 'darwin'",
"watchdog",
"html2text>=2020.1.16",
"python-docx>=1.1.0",
"pygments",
"ttkbootstrap",
"pypdf>=4.0.0",
"PyMuPDF>=1.23.0",
"weasyprint>=62.0",
"requests>=2.28.0",
"keyring>=25.0.0",
"docling",
"pyobjc-framework-Cocoa; sys_platform == 'darwin'",
]
[project.optional-dependencies]
docs = [
"mkdocs>=1.6.1",
"mkdocs-material>=9.7.6",
]
dev = [
"ruff>=0.9",
"ty>=0.0.29",
"pre-commit>=3.0",
]
[tool.uv]
# This is an application, not an installable library.
package = false
[tool.ruff]
target-version = "py311"
line-length = 88
[tool.ruff.lint]
# E/W: pycodestyle F: pyflakes I: isort UP: pyupgrade
select = ["E", "F", "I", "UP", "W"]
ignore = [
"E501", # line too long — handled by formatter
]
[tool.ruff.lint.per-file-ignores]
# ttkbootstrap is designed to be used with star imports for its style constants
"app.py" = ["F403", "F405"]
"markdown_reader/ui.py" = ["F403", "F405"]
# sys.setrecursionlimit() must run before importing setuptools (see comment in file)
"setup.py" = ["E402"]
[tool.ruff.lint.isort]
known-first-party = ["markdown_reader"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ty]
# ty is Astral's type checker (https://github.com/astral-sh/ty).
# Configuration will grow as the project adopts type annotations.