forked from RotorHazard/community-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (64 loc) · 1.63 KB
/
pyproject.toml
File metadata and controls
75 lines (64 loc) · 1.63 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
74
75
[project]
name = "rh-community-plugins"
version = "0.0.0"
description = "A collection of plugins for RotorHazard"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"aiogithubapi>=24.6.0",
"awscli<=1.36.40",
"jq>=1.8.0",
"python-dotenv>=1.1.0",
]
[dependency-groups]
dev = [
"covdefaults==2.3.0",
"pre-commit==4.2.0",
"pre-commit-hooks==5.0.0",
"pytest==8.3.5",
"pytest-asyncio==0.26.0",
"pytest-cov==6.1.1",
"pytest-freezer==0.4.9",
"ruff==0.11.9",
"syrupy>=4.9.0",
]
docs = [
"mkdocs>=1.6.1",
"mkdocs-material>=9.6.5",
]
[tool.uv]
default-groups = []
[tool.coverage.run]
plugins = ["covdefaults"]
source = ["metadata"]
[tool.coverage.report]
fail_under = 50
show_missing = true
[tool.pytest.ini_options]
addopts = "--cov"
asyncio_mode = "auto"
pythonpath = "metadata"
[tool.ruff]
target-version = "py313"
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",
# Custom ignores
"G004",
]
[tool.ruff.lint.flake8-pytest-style]
mark-parentheses = false
fixture-parentheses = false
[tool.ruff.lint.mccabe]
max-complexity = 25