-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
103 lines (90 loc) · 1.59 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[project]
name = "ax3-email"
version = "2.0.0"
description = "AX3 Email is a Django application designed to send emails using Huey tasks."
authors = [{ name = "Felipe Gonzalez", email = "felipe.gonzalez@axiacore.com" }]
dependencies = [
'django >= 5.0.0',
'huey >= 2.4.5',
'premailer >= 2.5.1',
]
readme = "README.md"
requires-python = ">= 3.10"
[tool.hatch.metadata]
allow-direct-references = true
[tool.rye]
virtual = false
[tool.ruff]
target-version = "py310"
fix = true
line-length = 100
lint.select = [
"D",
"E",
"F",
"W",
"B",
"I",
"UP",
"N",
"B",
"A",
"C4",
"ISC",
"ICN",
"T20",
"C90",
"PT",
"PL",
"Q",
"RET",
"SIM",
"TID",
"ERA",
"PLC",
"PLE",
"PLR",
"PLW",
"PIE",
"RUF",
]
lint.extend-ignore = [
"A003",
"RUF005",
"N999",
"D104",
"D100",
"D107",
"D417",
"D102",
"D103",
"D105",
"D106",
]
exclude = [
".git",
".ruff_cache",
"build",
"dist",
]
[tool.ruff.lint.isort]
combine-as-imports = true
force-single-line = false
[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"
multiline-quotes = "single"
docstring-quotes = "double"
avoid-escape = true
[tool.ruff.lint.pylint]
allow-magic-value-types = ["int", "str", "bytes"]
[tool.ruff.lint.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.extend-per-file-ignores]
"apps.py" = ["D101"]
[tool.black]
line-length = 100
skip-string-normalization = true
target-version = ['py310']