-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (66 loc) · 1.99 KB
/
pyproject.toml
File metadata and controls
77 lines (66 loc) · 1.99 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
[project]
name = "clonehunter"
version = "1.0.3"
description = "Find duplicate code in mixed-language repositories using semantic and lexical similarity"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
keywords = ["code-clone", "duplicate-code", "static-analysis", "developer-tools", "refactoring"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"numpy>=2.0.0",
"torch>=2.2.0",
"transformers>=4.40.0",
"tqdm>=4.66.0",
"tomli>=2.0.1; python_version < '3.11'",
]
[project.urls]
Homepage = "https://github.com/drogers0/clonehunter"
Source = "https://github.com/drogers0/clonehunter"
Issues = "https://github.com/drogers0/clonehunter/issues"
[project.optional-dependencies]
faiss = ["faiss-cpu>=1.7.4"]
dev = [
"pytest>=8.4.0",
"ruff>=0.15.0",
"pyright>=1.1.380",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
exclude = ["benchmark/", "tests/", "fixtures/", "examples/", "assets/", "typings/", "dist/"]
[tool.uv]
package = true
[project.scripts]
clonehunter = "clonehunter.cli.main:main"
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "C4", "RUF"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
[tool.pyright]
typeCheckingMode = "strict"
reportUnknownParameterType = true
reportUnknownArgumentType = true
reportUnknownLambdaType = true
reportUnknownMemberType = true
reportUnknownVariableType = true
[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = ["ignore"]