-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (55 loc) · 1.72 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
[project]
name = "jsonlogalert"
version = "1.0.0-dev"
description = "Watch systemd journal and log files and email important activity to administrators."
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
# Required by pip-tools
"pyproject_hooks",
"click",
"click-option-group",
"jinja2",
"minify-html",
"pyyaml",
]
[project.optional-dependencies]
dev = [
"click-man",
# Visual Studio Code
"black",
"ruff",
]
[build-system]
requires = [
"setuptools >=65",
]
build-backend = "setuptools.build_meta"
[project.scripts]
jsonlogalert = "jsonlogalert.__main__:cli"
# https://docs.astral.sh/ruff/configuration/
[tool.ruff]
line-length = 150
# Always generate Python 3.9-compatible code.
target-version = "py39"
# https://docs.astral.sh/ruff/rules/
[tool.ruff.lint]
select = [
"ALL",
]
ignore = [
"D100", # https://docs.astral.sh/ruff/rules/undocumented-public-module/
"D205", # https://docs.astral.sh/ruff/rules/blank-line-after-summary/
"TRY003", # https://docs.astral.sh/ruff/rules/raise-vanilla-args/
"EM102", # https://docs.astral.sh/ruff/rules/f-string-in-exception/
"EM101", # https://docs.astral.sh/ruff/rules/raw-string-in-exception/
"S101", # https://docs.astral.sh/ruff/rules/assert/
"G004", # https://docs.astral.sh/ruff/rules/logging-f-string/
"FBT001", # https://docs.astral.sh/ruff/rules/boolean-type-hint-positional-argument/
"FBT002", # https://docs.astral.sh/ruff/rules/boolean-default-value-positional-argument/
"ANN002", # https://docs.astral.sh/ruff/rules/missing-type-args/
"ANN003", # https://docs.astral.sh/ruff/rules/missing-type-kwargs/
"COM812", # https://docs.astral.sh/ruff/rules/missing-trailing-comma/
]
[tool.ruff.lint.pydocstyle]
convention = "google"