-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (98 loc) · 2.28 KB
/
pyproject.toml
File metadata and controls
111 lines (98 loc) · 2.28 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[project]
name = "tsdae"
version = "1.0.1"
description = "Transformer-based Denoising AutoEncoder for Sentence Transformers Unsupervised pre-training."
readme = "README.md"
license = {text = "Apache-2.0"}
keywords = ["transformers", "sentence-transformers", "tsdae", "bert", "machine-learning", "NLP", "sentence-similarity", "nltk", "pre-training", "embeddings"]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules"
]
authors = [
{name = "Louis Brulé Naudet", email = "louisbrulenaudet@icloud.com"}
]
requires-python = ">=3.11"
dependencies = [
"nltk",
"numpy",
"datasets",
"sentence_transformers",
"torch"
]
[project.urls]
repository = "https://github.com/louisbrulenaudet/tsdae"
homepage = "https://github.com/louisbrulenaudet/tsdae"
[project.optional-dependencies]
dev = [
"pre-commit>=4.1.0",
"pre-commit-uv>=4.1.4",
"ruff>=0.9.3",
]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = {find = {where = ["src"]}}
[tool.ruff.lint]
select = [
# pycodestyle
"E",
"W",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# flake8-annotations
"ANN",
# flake8-print
"T20",
]
ignore = [
"B008",
"E501",
]
[tool.ruff.lint.per-file-ignores]
"**/{tests,docs}/*" = [
"ANN",
"E402",
]
[tool.ruff]
fix = true
[tool.ruff.format]
quote-style = "double"
line-ending = "auto"
[tool.ruff.lint.pyupgrade]
keep-runtime-typing = true
[tool.pyright]
exclude = [
"**/tests"
]
[tool.coverage.run]
branch = true
source = ["src/tsdae"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"pass",
"raise ImportError",
]
ignore_errors = true