-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (55 loc) · 1.15 KB
/
pyproject.toml
File metadata and controls
61 lines (55 loc) · 1.15 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
[project]
name = "open-conference-url"
version = "7.3.0"
description = "An Alfred workflow to quickly open conference links from upcoming calendar events."
readme = "README.md"
requires-python = ">=3.9"
authors = [
{name = "Caleb Evans", email = "caleb@calebevans.me"}
]
maintainers = [
{name = "Caleb Evans", email = "caleb@calebevans.me"}
]
license = "MIT"
dependencies = []
[dependency-groups]
dev = [
"alfred-workflow-packager==3.1.1",
"freezegun==1.5.2",
"pytest>=8.4.2",
"pytest-cov>=7.0.0",
"python-dotenv==1.0.0",
"ruff>=0.12.0",
"ty>=0.0.14",
]
[tool.ruff]
include = ["**/*.py"]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
"W",
# pyflakes
"F",
# isort
"I",
# perflint
"PERF",
# flake8-annotations
"ANN001",
"ANN201",
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ANN001", "ANN201"]
[tool.coverage.run]
branch = true
# Only check coverage for source files
include = ["ocu/**/*.py"]
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_lines = [
"pragma: no cover",
# Ignore non-runnable code
"if __name__ == .__main__.:",
"pass",
]