pdf-decrypt/pyproject.toml
James Smith 8d94b5f96c Initial commit
Spun out from where I had it previously (a private repo) and tidied the
code up a bit. Included a bit more static analysis courtesy of ruff,
and fixed up the errors. (There weren't many.)

Update README
2026-01-03 16:00:58 +02:00

58 lines
734 B
TOML

[project]
name = "pdf-decrypt"
version = "0.1.0"
description = "Decrypt a PDF using a saved list of passwords."
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"pypdf[full]",
"pyyaml",
]
[build-system]
requires = [
"setuptools>=45",
]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[project.scripts]
pdf_decrypt = "pdf_decrypt.pdf_decrypt:main"
[tool.ruff]
line-length = 120
indent-width = 2
[tool.ruff.lint]
select = [
"A",
"ANN",
"B",
"BLE",
"C4",
"E",
"EXE",
"F",
"FURB",
"I",
"ISC",
"N",
"PLC",
"PLE",
"PLR",
"PLW",
"RUF",
"S",
"SIM",
"TRY",
"UP",
"W",
]
ignore = [
# Because I like an indent width of 2 rather than 4
"E111",
"E114",
]