-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
95 lines (82 loc) · 2.17 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
93
94
95
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
authors = [
{name = "James Bennett"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Topic :: Utilities",
]
name = "pwned-passwords-django"
description = "A Pwned Passwords implementation for Django sites."
dependencies = [
"Django>=4.2",
"httpx",
]
keywords = ["django", "security", "passwords", "auth", "authentication"]
license = {text = "BSD-3-Clause"}
readme = "README.rst"
requires-python = ">=3.9"
version = "5.1.2a0"
[dependency-groups]
tests = ["nox"]
[project.urls]
"Documentation" = "https://pwned-passwords-django.readthedocs.io/"
"Source Code" = "https://github.com/ubernostrum/pwned-passwords-django"
[tool.bandit]
# B113 is only skipped right now because of a bug in Bandit. Bandit 1.8 should fix it:
# https://github.com/PyCQA/bandit/issues/1175
skips = ["B101", "B113"]
[tool.black]
target-version = ["py39", "py310", "py311", "py312", "py313"]
[tool.coverage.paths]
source = ["src", ".nox/tests_with_coverage*/**/site-packages"]
[tool.coverage.report]
fail_under = 100
[tool.coverage.run]
branch = true
parallel = true
omit = [
"*/_backports.py",
]
source = ["pwned-passwords-django"]
[tool.interrogate]
ignore-init-method = true
ignore-init-module = true
[tool.isort]
profile = "black"
[tool.pdm]
distribution = true
[tool.pdm.build]
source-includes = [
".editorconfig",
".flake8",
".pre-commit-config.yaml",
".readthedocs.yaml",
"AUTHORS",
"CONTRIBUTING.rst",
"docs/",
"noxfile.py",
"pdm.lock",
"runtests.py",
"tests/",
]
[tool.pylint]
disable = ["W1203"]