-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
82 lines (71 loc) · 1.63 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
[build-system]
requires = ["poetry-core==1.9.0"]
build-backend = "poetry.core.masonry.api"
[tool]
[tool.autopep8]
aggressive = 2
in-place = true
max_line_length = 88
recursive = true
[tool.black]
target-version = ["py312"]
[tool.commitizen]
version_provider = "poetry"
version_files = ["README.md:slack-templates@"]
major_version_zero = true
[tool.docformatter]
black = true
in-place = true
recursive = true
[tool.mypy]
disallow_any_decorated = true
disallow_any_unimported = true
show_error_code_links = true
show_error_context = true
show_error_end = true
strict = true
pretty = true
warn_unreachable = true
[tool.poetry]
package-mode = false
name = "slack-templates"
version = "0.6.38"
description = "Send Informative, Concise Slack Notifications With Minimal Effort"
authors = ["Kurt von Laven <kurt.von.laven@gmail.com>"]
license = "MIT"
[tool.poetry.dependencies]
# Keep in sync with .pre-commit-config.yaml and .tool-versions.
python = "==3.12.2"
[tool.poetry.group.dev.dependencies]
autopep8 = "==2.0.4"
bandit = "==1.7.6"
black = "==24.3.0"
commitizen = "==3.18.4" # Keep in sync with .pre-commit-config.yaml.
mypy = "==1.7.1"
pre-commit = "==3.6.2"
pycodestyle = "==2.11.1"
pylint = "==3.0.3"
ruff = "==0.1.8"
[tool.pylint.messages_control]
max-line-length = 88
[tool.ruff]
select = ["ALL"]
ignore = [
"AIR",
"ANN101",
"COM",
"CPY001",
"D203",
"D213",
"DJ",
"FA",
"NPY",
"PD",
"PT",
"Q",
"S",
"T20"
]
target-version = "py312"
[tool.ruff.flake8-annotations]
mypy-init-return = true