-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
92 lines (84 loc) · 2.92 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[project]
name = "pspdfutils"
version = "3.3.6"
description = "Manipulate PDF and PostScript documents"
license = {text = "GPL v3 or later"}
authors = [
{name = "Reuben Thomas", email = "[email protected]"}
]
readme = "README.md"
urls = {Homepage = "https://github.com/rrthomas/psutils"}
requires-python = ">= 3.9"
dependencies = [
"puremagic >= 1.26",
"pypdf >= 4.3.0",
]
classifiers = [
"Environment :: Console",
"Programming Language :: Python :: 3",
]
[project.scripts]
epsffit = "psutils.command.epsffit:epsffit"
extractres = "psutils.command.extractres:extractres"
includeres = "psutils.command.includeres:includeres"
psbook = "psutils.command.psbook:psbook"
psjoin = "psutils.command.psjoin:psjoin"
psnup = "psutils.command.psnup:psnup"
psresize = "psutils.command.psresize:psresize"
psselect = "psutils.command.psselect:psselect"
pstops = "psutils.command.pstops:pstops"
[project.optional-dependencies]
test = [
"pytest-datafiles",
"Wand",
]
[build-system]
requires = [
"argparse-manpage[setuptools] >= 4.2",
"setuptools >= 60; python_version >= \"3.12\"",
"puremagic >= 1.26",
"pypdf >= 4.3.0",
]
[tool.build_manpages]
manpages = [
"epsffit.1:module=psutils.command.epsffit:function=get_parser:manual_title=User Command:include=epsffit-include.man",
"extractres.1:module=psutils.command.extractres:function=get_parser:manual_title=User Commands:include=extractres-include.man",
"includeres.1:module=psutils.command.includeres:function=get_parser:manual_title=User Commands:include=includeres-include.man",
"psbook.1:module=psutils.command.psbook:function=get_parser:manual_title=User Commands:include=psbook-include.man",
"psjoin.1:module=psutils.command.psjoin:function=get_parser:manual_title=User Commands",
"psnup.1:module=psutils.command.psnup:function=get_parser_manpages:manual_title=User Commands:include=psnup-include.man",
"psresize.1:module=psutils.command.psresize:function=get_parser:manual_title=User Commands:include=psresize-include.man",
"psselect.1:module=psutils.command.psselect:function=get_parser:manual_title=User Commands:include=psselect-include.man",
"pstops.1:module=psutils.command.pstops:function=get_parser_manpages:manual_title=User Commands:include=pstops-include.man",
"psutils.1:manfile=psutils.1",
]
[tool.mypy]
exclude = [
'^dist',
'^build',
'^tests-output',
]
strict = true
[tool.pylint.main]
# Use multiple processes to speed up Pylint: 0 = auto-detect.
jobs = 0
[tool.pylint.MASTER]
init-hook = 'import sys; sys.path.append(".")'
[tool.pylint.format]
good-names = "e,f,h,i,j,m,n,s,t,w,up"
disable = [
"missing-module-docstring",
"missing-class-docstring",
"missing-function-docstring",
"no-member",
"fixme",
"too-many-arguments",
"too-many-branches",
"too-many-locals",
"too-many-nested-blocks",
"too-many-positional-arguments",
"too-many-statements",
]
enable = [
"useless-suppression",
]