-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (87 loc) · 2.36 KB
/
pyproject.toml
File metadata and controls
94 lines (87 loc) · 2.36 KB
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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "djantic2"
version = "1.0.5"
description = "Pydantic models for Django"
authors = [
{name = "Jonathan Sundqvist", email = "git@co.argpar.se"},
{name = "Jordan Eremieff", email = "jordan@eremieff.com"},
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Framework :: Django :: 5.2",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"pydantic>=2.6.2",
"Django>3,<6",
]
[project.optional-dependencies]
dev = [
"ruff>=0.3.7",
"setuptools>=65.5.1",
"twine>=3.4.1",
"wheel>=0.38.1",
"mypy>=0.910",
"pytest>=6.2.4",
"pytest-cov>=2.12.1",
"codecov>=2.1.11",
"mkdocs>=1.2.3",
"mkdocs-material>=7.1.10",
"mkautodoc>=0.1.0",
"Pygments>=2.9.0",
"pymdown-extensions>=8.2",
"rich>=10.6.0",
"django-stubs>=1.8.0",
"pytest-django>=4.4.0",
"psycopg2-binary>=2.9.1",
"bump2version>=1.0.1",
"factory-boy>=3.2.1",
]
[project.urls]
Homepage = "https://github.com/jonathan-s/djantic2/"
Repository = "https://github.com/jonathan-s/djantic2/"
[tool.setuptools.packages.find]
include = ["djantic*"]
[tool.setuptools.package-data]
djantic = ["py.typed"]
[tool.ruff]
line-length = 88
exclude = ['.git', '__pycache__', '__init__.py', '.mypy_cache', '.pytest_cache']
lint.select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # pyupgrade
]
lint.ignore = [
"E501", # line too long
"C901", # Comprehension is too complex (11 > 10)
"W191", # indentation contains tabs
"E402",
"E203",
]
[tool.ruff.lint.pyupgrade]
# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true