-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
120 lines (111 loc) · 2.84 KB
/
Copy pathpyproject.toml
File metadata and controls
120 lines (111 loc) · 2.84 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
[build-system]
requires = ["hatchling>=1.21"]
build-backend = "hatchling.build"
[project]
name = "django-tee"
version = "0.2.0"
description = "Run a Django management command and capture its stdout/stderr/traceback into the database — like Unix tee(1), but for cron jobs."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
authors = [
{ name = "Michał Pasternak", email = "michal.dtz@gmail.com" },
]
keywords = [
"django",
"tee",
"logging",
"cron",
"management-command",
"audit",
"stdout",
"stderr",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Framework :: Django :: 5.2",
"Framework :: Django :: 6.0",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Logging",
]
dependencies = [
"Django>=4.2",
]
[project.optional-dependencies]
rollbar = ["rollbar>=0.16"]
sentry = ["sentry-sdk>=1.40"]
all-backends = ["rollbar>=0.16", "sentry-sdk>=1.40"]
test = [
"pytest>=7",
"pytest-django>=4.8",
"pytest-mock>=3",
"model-bakery>=1.17",
"testcontainers[postgres]>=4",
"psycopg[binary]>=3",
]
dev = [
"ruff>=0.6",
"pre-commit>=3.5",
"build>=1",
"twine>=5",
]
[project.urls]
Homepage = "https://github.com/iplweb/django-tee"
Repository = "https://github.com/iplweb/django-tee"
Issues = "https://github.com/iplweb/django-tee/issues"
Changelog = "https://github.com/iplweb/django-tee/blob/main/CHANGELOG.md"
[tool.hatch.build.targets.sdist]
include = [
"src/django_tee",
"README.md",
"CHANGELOG.md",
"LICENSE",
"pyproject.toml",
]
[tool.hatch.build.targets.wheel]
packages = ["src/django_tee"]
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = [
"E",
"W",
"F",
"I",
"B",
"UP",
"C4",
]
ignore = [
"E501",
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["B", "ARG"]
"src/django_tee/migrations/*.py" = ["E", "W", "F", "I", "UP"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
python_files = ["test_*.py"]
testpaths = ["tests"]
pythonpath = ["."]
filterwarnings = [
"ignore::DeprecationWarning",
]