-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
55 lines (46 loc) · 1.11 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
[tool.poetry]
name = "merge-pdfs"
version = "0.1.0"
description = "Tool for merging PDF files without sending them over the Network"
authors = ["Lukasz Kielar"]
license = "LICENSE.md"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.12,<3.13"
pillow = "^10.4.0"
pypdf = "^4.3.1"
pyside6 = "^6.7.2"
qdarkstyle = "^3.2.3"
[tool.poetry.group.dev.dependencies]
mypy = "^1.11.2"
ruff = "^0.6.5"
[tool.ruff]
indent-width = 4
line-length = 79
target-version = "py312"
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = "dynamic"
skip-magic-trailing-comma = false
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"RUF", # ruff-specific rules
]
extend-select = []
ignore = []
[tool.ruff.lint.isort]
known-first-party = ["merge_pdfs"]
required-imports = ["from __future__ import annotations"]
[tool.mypy]
python_version = "3.12"
strict = true
[[tool.mypy.overrides]]
module = "qdarkstyle.*"
ignore_missing_imports = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"