File: pyproject.toml

package info (click to toggle)
python-django-timezone-field 7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 292 kB
  • sloc: python: 1,047; sh: 6; makefile: 3
file content (64 lines) | stat: -rw-r--r-- 1,594 bytes parent folder | download
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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.black]
line-length = 120

[tool.coverage.run]
relative_files = true

[tool.isort]
profile = "black"
line_length = 120

[tool.poetry]
name = "django-timezone-field"
version = "7.1"
description = "A Django app providing DB, form, and REST framework fields for zoneinfo and pytz timezone objects."
license = "BSD-2-Clause"
authors = ["Mike Fogel <mike@fogel.ca>"]
readme = "README.md"
repository = "https://github.com/mfogel/django-timezone-field/"
classifiers = [
    "Development Status :: 4 - Beta",
    "Environment :: Web Environment",
    "Framework :: Django",
    "Framework :: Django :: 4.2",
    "Framework :: Django :: 5.0",
    "Framework :: Django :: 5.1",
    "Intended Audience :: Developers",
    "Operating System :: OS Independent",
    "Topic :: Utilities",
]
packages = [
    { include = "timezone_field" },
]

[tool.poetry.dependencies]
Django = ">=3.2,<6.0"
python = "^3.8"
"backports.zoneinfo" = { version = "^0.2.1", python = "<3.9" }

[tool.poetry.dev-dependencies]
coverage = {extras = ["toml"], version = "^6.2"}
djangorestframework = "^3.15.2"
flake8 = "^5.0.4"
psycopg2-binary = "^2.9.10"
pytest = "^8.0.0"
pytest-django = "^4.5.2"
pytest-pythonpath = "^0.7.3"
pytest-lazy-fixtures = "^1.0.7"
pytest-cov = "^3.0.0"
pytz = "^2024.1"
black = "^24.4.2"
isort = "^5.11.5"
pylint = "^2.13.9"
tzdata = "^2023.3"

[tool.pylint.'MESSAGES CONTROL']
max-line-length = 120
disable = "C, R, redefined-outer-name"

[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"