generated from dutchdronesquad/rh-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
38 lines (33 loc) · 1.02 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
[project]
name = "youtube-chapters"
version = "0.1.0"
description = "A plugin that generates a chapter log for YouTube videos."
readme = "README.md"
requires-python = ">=3.10"
dependencies = []
[dependency-groups]
dev = [
"pre-commit==4.1.0",
"pre-commit-hooks==5.0.0",
"ruff==0.9.4",
]
[tool.ruff]
target-version = "py310"
lint.select = ["ALL"]
lint.ignore = [
"ARG001", # Unused function arguments
"ANN401", # Opinionated warning on disallowing dynamically typed expressions
"D203", # Conflicts with other rules
"D213", # Conflicts with other rules
"D417", # False positives in some occasions
"PLR2004", # Just annoying, not really useful
"SLOT000", # Has a bug with enums: https://github.com/astral-sh/ruff/issues/5748
"BLE001", # False positives in some occasions
"TRY003", # Avoid specifying long messages outside the exception
"EM101", # Raw string in exception message
# Conflicts with the Ruff formatter
"COM812",
"ISC001",
# Custom ignores
"G004", # Allow f-string in logging
]