-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (65 loc) · 2.05 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (65 loc) · 2.05 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
72
73
74
75
[build-system]
# This uses the semi-built-in "setuptools" which is currently the
# python pariah, but there are a lot of behaviors that still carry.
# For more info see https://packaging.python.org/en/latest/
# (although, be fore-warned, it gets fairly wonky and obsessed with
# details that you may not care about.)
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "pywebpush"
version = "2.5.0"
# PYTHON_VER
requires-python = ">= 3.10"
license = "MPL-2.0"
authors = [{ name = "JR Conlin", email = "src+webpusher@jrconlin.com" }]
description = "WebPush publication library"
readme = "README.md"
keywords = ["webpush", "vapid", "notification"]
classifiers = [
"Topic :: Internet :: WWW/HTTP",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
dependencies = [
"aiohttp",
"cryptography>=47.0.0",
"http-ece>=1.1.0",
"requests>=2.21.0",
"py-vapid>=1.7.0",
]
[project.urls]
Homepage = "https://github.com/web-push-libs/pywebpush"
[project.optional-dependencies]
dev = ["isort", "bandit", "black", "mock", "pytest"]
# create the `pywebpush` helper using `python -m pip install --editable .`
[project.scripts]
pywebpush = "pywebpush.__main__:main"
[tool.setuptools.dynamic]
dependencies = { file = "requirements.txt" }
[tool.setuptools.packages.find]
include = ["pywebpush*"]
[tool.isort]
profile = "black"
skip_gitignore = true
[tool.bandit]
# skips asserts
# B101: https://bandit.readthedocs.io/en/latest/plugins/b101_assert_used.html#
# skip false detect of hardcoded sql
# B608:https://bandit.readthedocs.io/en/latest/plugins/B608_hardcoded_sql_expressions.html#
skips = ["B101", "B608"]
[tool.mypy]
disable_error_code = "attr-defined"
disallow_untyped_calls = false
follow_imports = "normal"
ignore_missing_imports = true
pretty = true
show_error_codes = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_ignores = true
warn_unreachable = true
check_untyped_defs = true