-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
49 lines (43 loc) · 1.15 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
[project]
name = "temporal-utils"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
authors = [{ name = "Saxon", email = "[email protected]" }]
requires-python = ">=3.10"
dependencies = ["temporalio==1.8.0", "pydantic[email]~=2.7.4"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
dev-dependencies = [
"pytest~=8.2.2",
"mypy~=1.11.1",
"ruff~=0.8.4",
"pyright~=1.1.375",
]
[tool.mypy]
ignore_missing_imports = true
# check_untyped_defs = true
# disallow_untyped_calls = true
# disallow_untyped_defs = true
no_implicit_optional = true
warn_unused_ignores = false
namespace_packages = true
exclude = ['.venv', "tests/*"]
plugins = ["pydantic.mypy"]
[tool.ruff.lint]
# 1. Ignore F841 (local variable is assigned to but never used)
# 2. Ignore E711 (comparison to None should be 'if cond is None:')
# 3. Ignore E712 (comparison to True should be 'if cond is True:' or 'if cond:')
ignore = ["F841", "E711", "E712"]
extend-select = ["I"]
[tool.ruff.lint.isort]
order-by-type = true
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder",
]