django-fernet-encrypted-fields/pyproject.toml
2026-03-14 08:00:38 -04:00

48 lines
1.2 KiB
TOML

[project]
name = "django-fernet-encrypted-fields"
version = "0.3.1"
description = "Symetrically encrypted model fields for Django"
readme = "README.md"
license = "MIT"
authors = [
{ name = "jazzband", email = "n.anahara@fragment.co.jp" },
]
requires-python = ">=3.8"
dependencies = [
"Django>=4.2",
"cryptography>=35.0.0",
]
[project.urls]
Homepage = "https://github.com/jazzband/django-fernet-encrypted-fields/"
[build-system]
requires = ["setuptools>=61.0.0"]
build-backend = "setuptools.build_meta"
##################
# ruff
##################
[tool.ruff]
fix = true
lint.fixable = ["ALL"]
lint.ignore = ["A003", "COM812", "D", "DJ008", "ERA001", "ISC001", "PLC2401", "PLC2403", "PT011", "RUF001", "S101", "S105", "S608", "SIM103", "TC001", "TC002", "TC003", "UP040"]
lint.select = ["ALL"]
lint.unfixable = ["ERA001", "F401"]
extend-include = ["package_test/**/*.py"]
target-version = "py312"
##################
# mypy
##################
[tool.mypy]
mypy_path = "$MYPY_CONFIG_FILE_DIR"
packages = ["encrypted_fields"]
python_version = "3.12"
strict = true
warn_unreachable = true
warn_no_return = true
ignore_missing_imports = true
disallow_untyped_decorators = false