generated from BastiTee/python-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (68 loc) · 2.01 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "kindle_to_markdown"
version = "0.0.3"
description = "A simple program to convert Kindle HTML annotations to a Markdown file."
license = "Apache 2.0"
authors = ["Basti Tee <[email protected]>"]
maintainers = ["Basti Tee <[email protected]>"]
homepage = "https://github.com/BastiTee/kindle-to-markdown"
repository = "https://github.com/BastiTee/kindle-to-markdown"
readme = "README.md"
keywords = ["kindle", "markdown", "converter", "python"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
[tool.poetry.dependencies]
python = "^3.9.0"
click = "^8.1.7"
beautifulsoup4 = "^4.12.3"
twine = "^6.0.1"
[tool.poetry.dev-dependencies]
autopep8 = "^2"
flake8 = "^7"
flake8-quotes = "^3"
flake8-docstrings = "^1"
flake8-builtins = "^2"
flake8-blind-except = "^0"
flake8-use-fstring = "^1"
flake8-isort = "^6"
pep8-naming = "^0"
isort = "^5"
pytest = "^8"
mypy = "^1"
typing-extensions = "^4"
black = "^24"
pipdeptree = "^2"
[tool.poetry.scripts]
kindle_to_markdown = 'kindle_to_markdown.__main__:main'
[tool.mypy]
# Untyped definitions and calls
# Disallows defining functions without type annotations or with
# incomplete type annotations.
disallow_untyped_defs = true
# Type-checks the interior of functions without type annotations
check_untyped_defs = true
# Import discovery
follow_imports = "normal"
ignore_missing_imports = true
# Warning configuration
warn_unused_ignores = true
warn_unreachable = true
# Error message config
# pretty = true
[tool.pytest]
addopts = "-p no:warnings"
[tool.black]
skip-string-normalization = true