-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
94 lines (75 loc) · 2.27 KB
/
pyproject.toml
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
[tool.poetry]
name = "exasol-transformers-extension"
version = "2.2.1"
description = "An Exasol extension for using state-of-the-art pretrained machine learning models via the Hugging Face Transformers API."
authors = [
"Umit Buyuksahin <[email protected]>",
"Torsten Kilias <[email protected]>"
]
readme = 'README.md'
repository = "https://github.com/exasol/transformers-extension"
homepage = "https://github.com/exasol/transformers-extension"
keywords = ['exasol']
[tool.poetry.dependencies]
python = "^3.10.0"
pandas = ">=2.2.3,<3.0.0"
torch = "^2.0.1"
transformers = {extras = ["torch"], version = "^4.36.2"}
Jinja2 = "^3.0.3"
importlib-resources = "^6.4.0"
click = "^8.0.4"
pyexasol = ">=0.25.0"
exasol-bucketfs = ">=1.0.0"
tenacity = "^8.2.2"
sacremoses = ">=0.0.53"
bitsandbytes = ">=0.45.0"
exasol-python-extension-common = ">=0.8.0,<1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.0"
exasol-udf-mock-python = ">=0.3.0"
toml = "^0.10.2"
nox = "^2023.4.22"
pytest-exasol-slc = ">=0.3.0"
pytest-exasol-extension = ">=0.2.1,<1"
exasol-toolbox = ">=0.20.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
# python-toolbox config:
# Allows fine-grained control over what is considered for code coverage
[tool.coverage.run]
relative_files = true
source = [
"exasol_transformers_extension",
]
# defines the minimum required code coverage
[tool.coverage.report]
fail_under = 15
# Controls maximum line length in your project
[tool.black]
line-length = 88
verbose = false
include = "\\.pyi?$"
# Modify the behavior of import sorting
[tool.isort]
profile = "black"
force_grid_wrap = 2
# Define the minimum linting score considered acceptable
[tool.pylint.master]
fail-under = 4.0
# Maximum line length should match what is configured for black.
# Additionally, a maximum module size can be defined here.
[tool.pylint.format]
max-line-length = 88
max-module-lines = 800
# Configure exceptions for the type checker
[[tool.mypy.overrides]]
module = [
"test.*"
]
ignore_errors = true
#[tool.poetry.plugins."console_scripts"]
#"version-check" = "exasol.toolbox.pre_commit_hooks.package_version:main"
#[tool.poetry.scripts]
#tbx = 'exasol.toolbox.tools.tbx:CLI'
#sphinx-multiversion = 'exasol.toolbox.sphinx.multiversion:main'