forked from fable-compiler/Fable
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (72 loc) · 2 KB
/
pyproject.toml
File metadata and controls
85 lines (72 loc) · 2 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
76
77
78
79
80
81
82
83
84
85
[project]
name = "Fable"
version = "4.3.0"
description = "Fable"
authors = [
{ name = "Alfonso Garcia-Caro" },
{ name = "Dag Brattli", email = "dag@brattli.net" },
]
requires-python = ">= 3.12, < 4.0"
readme = "README.md"
license = "MIT"
dependencies = [
"python-dateutil>=2.9.0,<3",
]
[project.urls]
Homepage = "https://fable.io"
[dependency-groups]
dev = [
"pytest>=8.3.5,<9",
"ruff>=0.11.6,<0.12",
"maturin>=1.8.3,<2",
"dunamai>=1.23.1,<2",
"pydantic>=2.11.7",
"attrs>=25.3.0",
"pyright>=1.1.408",
"ty>=0.0.7",
]
[tool.hatch.build.targets.sdist]
include = ["./temp/fable-library-py/fable_library"]
[tool.hatch.build.targets.wheel]
include = ["./temp/fable-library-py/fable_library"]
[tool.hatch.build.targets.wheel.sources]
"./temp/fable-library-py/fable_library" = "temp/fable-library-py/fable_library"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
package = false # This is a project, not a package
[tool.ruff]
line-length = 120
target-version = "py312"
respect-gitignore = false
include =["*.py"]
[tool.ruff.lint]
select = ["E", "W", "F", "I", "T", "RUF", "TID", "UP"]
ignore = [
"F841" # Ignore unused variable warnings
]
[tool.ruff.lint.flake8-bugbear]
# These Rust extension module types are immutable (frozen)
extend-immutable-calls = [
"fable_modules.fable_library.types.int8",
"fable_modules.fable_library.types.int16",
"fable_modules.fable_library.types.int32",
"fable_modules.fable_library.types.int64",
"fable_modules.fable_library.types.uint8",
"fable_modules.fable_library.types.uint16",
"fable_modules.fable_library.types.uint32",
"fable_modules.fable_library.types.uint64",
"fable_modules.fable_library.types.float32",
"fable_modules.fable_library.types.float64",
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.isort]
lines-after-imports = 2
[tool.pytest.ini_options]
minversion = "8.0"
pythonpath = ["temp/tests/Python", "."]
testpaths = [
"temp/tests/Python",
]