-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (60 loc) · 1.62 KB
/
pyproject.toml
File metadata and controls
73 lines (60 loc) · 1.62 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
# -- PACKAGE INFO ---------------------
[build-system]
requires = ["setuptools >= 65.0"]
build-backend = "setuptools.build_meta"
[project]
authors = [
{name = "CodeRed LLC", email = "info@coderedcorp.com"},
]
classifiers = [
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Framework :: Django",
]
dependencies = [
"Django>=1.3",
]
description = "Django email backend which invokes system `sendmail` binary."
dynamic = ["version"]
license-files = ["LICENSE.txt"]
name = "cr-sendmail-django"
readme = "README.md"
requires-python = ">=3.6"
[project.urls]
Source = "https://github.com/coderedcorp/cr-sendmail-django"
[tool.setuptools]
packages = [
"cr_sendmail",
"django_sendmail_backend",
]
[tool.setuptools.dynamic]
version = {attr = "cr_sendmail.__version__"}
# -- TOOLS ----------------------------
[tool.django-stubs]
django_settings_module = "testproject.settings"
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
exclude = [
'^\..*',
'migrations',
'node_modules',
'venv',
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "testproject.settings"
junit_family = "xunit2"
addopts = "--cov wagtail-flexible-forms --cov-report html --cov-report xml --junitxml junit/test-results.xml"
python_files = "tests.py test_*.py"
[tool.ruff]
extend-exclude = ["build", "migrations"]
line-length = 80
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.isort]
case-sensitive = false
force-single-line = true
lines-after-imports = 2