-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (62 loc) · 1.43 KB
/
pyproject.toml
File metadata and controls
71 lines (62 loc) · 1.43 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
70
71
[project]
name = "gyazo-pdf"
version = "0.1.2"
description = "A Python script to convert PDF pages to images and upload them to Gyazo."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [
{ name = "yosider", email = "yosider@users.noreply.github.com" }
]
keywords = ["gyazo", "pdf"]
dependencies = [
"click",
"Pillow",
"PyMuPDF",
"pyperclip",
"python-dotenv",
"python-gyazo",
"PyYAML",
"tqdm",
]
[project.urls]
Homepage = "https://github.com/yosider/gyazo-pdf"
Repository = "https://github.com/yosider/gyazo-pdf"
Issues = "https://github.com/yosider/gyazo-pdf/issues"
[project.scripts]
gp = "gyazo_pdf.main:main"
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["gyazo_pdf"]
[dependency-groups]
dev = [
"mypy>=1.19.1",
"ruff>=0.8.0",
]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
]
ignore = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disable_error_code = ["import-untyped"]