-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (83 loc) · 1.93 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (83 loc) · 1.93 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
86
87
88
89
90
91
92
[project]
name = "InvPT"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"2to3==1.0",
"accelerate>=0.26.0",
"autopep8==2.3.2",
"clang==14.0",
"dacite==1.8.1",
"datasets==3.1.0",
"gdown==5.2.0",
"hf-xet>=1.2.0",
"jsonlines==4.0.0",
"libclang==14.0.1",
"matplotlib>=3.8.3",
"numpy>=1.26.4",
"orjson>=3.10,<4",
"pandas==2.2.3",
"pathos>0.3",
"pyyaml>=6.0",
"returns[compatible-mypy]>=0.23.0",
"scikit-learn==1.6.0",
"tabulate>=0.9.0",
"tensorboardx==2.6.2.2",
"tokenizers>=0.20",
"torch>=2.6",
"tqdm>=4.66.2",
"transformers>=4.48,<5",
"tree-sitter>=0.24.0",
"tree-sitter-c==0.23",
"tree-sitter-cpp>=0.23.4",
"tree-sitter-java>=0.23.5",
"tree-sitter-python>=0.23.6",
"typer-slim>=0.21.1",
"wandb==0.18.7",
]
[dependency-groups]
dev = [
"pre-commit>=4.5.1",
"pytest>=9.0.2",
"ruff>=0.14.14",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["modeling", "python_transform"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
check_untyped_defs = true
allow_redefinition = false
ignore_errors = false
implicit_reexport = false
local_partial_types = true
no_implicit_optional = true
strict_equality = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_ignores = false
plugins = ["returns.contrib.mypy.returns_plugin"]
[tool.ruff]
target-version = "py311"
[tool.ruff.lint]
ignore = [
"E501", # line too long
"E731", # allow lambda assignments
"F811",
"F841", # compatibility issue with returns
]
exclude = ["downstream/*", "attack/*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.pyright]
exclude = ["./fuzz/**"]
typeCheckingMode = "basic"