-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
51 lines (44 loc) · 1.14 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
[tool.poetry]
name = "finetune-qa-powerset"
version = "0.1.0"
description = "Repo to finetune QA models using available QA resoures in Icelandic"
license = "MIT"
readme = "README.md"
packages = [{include = "finetune_qa_powerset"}]
[tool.poetry.dependencies]
python = "^3.11"
torch = "^2.0.1"
transformers = "^4.30.2"
tokenizers = "^0.13.3"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
ruff = "^0.0.275"
mypy = "^1.4.1"
pyright = "^1.1.316"
black = "^23.3.0"
[tool.ruff]
line-length = 88 # defaults to 88 like black
target-version = "py311" # the python version to target, useful when considering code upgrades, defaults to "py310"
include = ["**/*.py"]
select = [
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade,
"I", # isort
]
[tool.black]
line-length = 88
target-version = ['py311']
include = '\.pyi?$'
extend-exclude = '''
/(
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
| profiling
)/
'''
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"