-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
70 lines (63 loc) · 1.74 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
[tool.poetry]
name = "my_module"
version = "0.3.4"
description = ""
license = "Apache 2.0"
authors = ["Basti Tee <basti.tee@posteo.de>"]
maintainers = ["Basti Tee <basti.tee@posteo.de>"]
readme = "README.md"
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 version: https://www.python.org/downloads/
python = ">=3.9,<3.14"
[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]
my_module_cli = 'my_module.__main__:main'
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[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