-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (77 loc) · 2.1 KB
/
pyproject.toml
File metadata and controls
80 lines (77 loc) · 2.1 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
[project]
name = "fuzzaug"
version = "0.1.0"
description = "FuzzAug: Data Augmentation by Coverage-guided Fuzzing for Neural Test Generation"
readme = "README.md"
authors = [{ name = "Yifeng He", email = "yfhe.prsn@gmail.com" }]
requires-python = ">=3.11"
dependencies = [
"bitsandbytes==0.43.2",
"black==25.1.0",
"dacite==1.8.1",
"datasets==2.19.0",
"fire==0.6.0",
"funcy==2.0",
"funcy-chain>=0.2.0",
"huggingface-hub>=0.34.4",
"jsonlines>=4.0.0",
"matplotlib==3.9.2",
"nltk>=3.9.1",
"pandas==2.2.2",
"pathos==0.3.2",
"peft==0.12.0",
"returns[compatible-mypy]>=0.23.0",
"rouge>=1.0.1",
"scikit-learn>=1.7.1",
"thefuzz>=0.22.1",
"torch==2.1.1",
"transformers==4.44.2",
"tree-sitter==0.25.1",
"wandb==0.16.6",
]
[tool.pylint.messages_control]
disable = [
"raw-checker-failed",
"bad-inline-option",
"locally-disabled",
"file-ignored",
"suppressed-message",
"useless-suppression",
"deprecated-pragma",
"use-symbolic-message-instead",
"logging-fstring-interpolation",
"unused-import",
"ungrouped-imports",
"subprocess-run-check",
"too-many-instance-attributes",
"missing-module-docstring",
"unnecessary-ellipsis", # pylint cannot work with typed Protocol
"unspecified-encoding", # use default utf-8 encoding is fine
"too-many-return-statements", # long functions are sometimes necessary
"too-many-arguments",
"too-many-positional-arguments",
"too-many-locals",
]
fail-under = 9
ignore-paths = '^fuzz/oss-fuzz/.*$'
[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.mypy.overrides]]
module = ["UniTSyn.*", "funcy.*"]
ignore_errors = true