-
Notifications
You must be signed in to change notification settings - Fork 48
/
pyproject.toml
73 lines (66 loc) · 1.79 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
[tool.poetry]
name = "django-security"
version = "1.0.4"
homepage = "https://github.com/sdelements/django-security"
description = "Models, views, middlewares and forms to facilitate security hardening of Django applications."
authors = ["Security Compass <[email protected]>"]
license = "BSD-3-Clause"
readme = "README.md"
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: BSD License',
# Supported Languages
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.12',
'Framework :: Django',
]
packages = [
{ include = "security" },
{ include = "tests", format = "sdist" },
]
exclude = [
"security/**/tests",
"tests"
]
[tool.poetry.dependencies]
python = "~3.12"
django = "~4.2"
python-dateutil = "2.9.0.post0"
south = "1.0.2"
ua_parser = "0.18.0"
[tool.poetry.dev-dependencies]
pre-commit = "3.7.1"
# docs
sphinx = "^7.3.7"
sphinx_rtd_theme = "^2.0.0"
readthedocs-sphinx-search = "^0.3.2"
# lint
black = "24.4.2"
flake8 = "7.0.0"
flake8-bandit = "4.1.1"
flake8-bugbear = "24.4.26"
flake8-docstrings = "1.7.0"
flake8-polyfill = "1.0.2"
isort = "5.13.2"
# security
bandit = "1.7.8"
# test
django-upgrade = "1.18.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.bandit]
exclude_dirs = [
'./tests/',
]