django-fernet-encrypted-fields/pyproject.toml

84 lines
1.5 KiB
TOML
Raw Normal View History

[project]
name = "django-fernet-encrypted-fields"
2026-04-14 01:26:45 +00:00
version = "0.4.0"
2026-03-14 15:21:22 +00:00
description = "Symmetrically encrypted model fields for Django"
readme = "README.md"
license = "MIT"
authors = [
{ name = "jazzband", email = "n.anahara@fragment.co.jp" },
]
2026-03-14 15:19:30 +00:00
requires-python = ">=3.10"
dependencies = [
"Django>=4.2",
"cryptography>=35.0.0",
]
[project.urls]
Homepage = "https://github.com/jazzband/django-fernet-encrypted-fields/"
[build-system]
2026-03-14 12:00:38 +00:00
requires = ["setuptools>=61.0.0"]
build-backend = "setuptools.build_meta"
[dependency-groups]
dev = [
"mypy>=1.19.1,<2",
"pre-commit>=4.5.1",
"ruff>=0.15.6,<0.16.0",
"pytest>=9.0.2",
"pytest-cov>=7.0.0",
"coverage>=7.13.4,<8.0.0",
]
2025-01-06 02:18:01 +00:00
##################
# ruff
##################
[tool.ruff]
fix = true
2026-03-14 12:00:38 +00:00
extend-include = ["package_test/**/*.py"]
target-version = "py310"
2026-03-14 12:46:15 +00:00
line-length = 100
[tool.ruff.lint]
fixable = ["ALL"]
extend-ignore = [
"RUF012",
"A003",
"COM812",
"D",
"DJ008",
"ERA001",
"ISC001",
"PLC2401",
"PLC2403",
"PT011",
"RUF001",
"S101",
"S105",
"S608",
"SIM103",
"TC001",
"TC002",
"TC003",
"UP040"
]
select = ["ALL"]
unfixable = [
"ERA001",
"F401"
]
2025-01-06 02:18:01 +00:00
##################
# 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
2025-01-06 02:38:01 +00:00
disallow_untyped_decorators = false