-
Notifications
You must be signed in to change notification settings - Fork 315
/
pyproject.toml
87 lines (79 loc) · 2.62 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[project]
name = "django-phonenumber-field"
requires-python = ">=3.8"
description = "An international phone number field for django models."
readme = "README.rst"
authors = [
{ name="Stefan Foulis", email="stefan@foulis.ch" },
{ name="François Freitag", email="mail@franek.fr" },
]
maintainers = [
{ name="François Freitag", email="mail@franek.fr" },
{ name="Stefan Foulis", email="stefan@foulis.ch" },
]
license = { text="MIT" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet :: WWW/HTTP",
]
dynamic = ["version"]
dependencies = ["Django>=4.2"]
[project.optional-dependencies]
phonenumbers = ["phonenumbers >= 7.0.2"]
phonenumberslite = ["phonenumberslite >= 7.0.2"]
[project.urls]
Homepage = "https://github.com/stefanfoulis/django-phonenumber-field"
Documentation = "https://django-phonenumber-field.readthedocs.io/"
Source = "https://github.com/stefanfoulis/django-phonenumber-field"
Tracker = "https://github.com/stefanfoulis/django-phonenumber-field/issues/"
Changelog = "https://github.com/stefanfoulis/django-phonenumber-field/releases/"
[tool.ruff.lint]
# see prefixes in https://beta.ruff.rs/docs/rules/
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehension
"U", # pyupgrade
]
[build-system]
requires = [
"setuptools>=42",
"setuptools_scm[toml]>=3.4",
]
build-backend = "setuptools.build_meta"
[tool.mypy]
python_version = "3.8"
check_untyped_defs = true
show_error_context = true
pretty = true
plugins = ["mypy_django_plugin.main", "mypy_drf_plugin.main"]
warn_no_return = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.django-stubs]
django_settings_module = "tests.settings"
[tool.setuptools_scm]
write_to = "phonenumber_field/version.py"