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
|
[build-system]
requires = ["setuptools>=61.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "django-solo"
description = "Django Solo helps working with singletons"
authors = [{name = "lazybird"}]
maintainers = [
{name = "John Hagen", email = "johnthagen@gmail.com"}
]
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"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",
]
dependencies = [
"django>=4.2",
"typing-extensions>=4.0.1; python_version < '3.11'",
]
license = {text = "Creative Commons Attribution 3.0 Unported"}
dynamic = ["version"]
[tool.setuptools.dynamic]
version = {attr = "django_solo.__version__"}
[project.urls]
Homepage = "https://github.com/lazybird/django-solo/"
Source = "https://github.com/lazybird/django-solo/"
Changelog = "https://github.com/lazybird/django-solo/blob/master/CHANGES"
[tool.mypy]
ignore_missing_imports = true
strict = true
exclude = "solo/tests"
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", # pycodestyle
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"RUF", # ruff
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"PTH", # flake8-use-pathlib
"SIM", # flake8-simplify
"TID", # flake8-tidy-imports
]
ignore = [
"B904",
]
|