59 lines
734 B
TOML
59 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",
|
||
|
|
]
|