forked from galatolofederico/vanilla-llama
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
60 lines (55 loc) · 1.19 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
[tool.pdm]
[tool.pdm.dev-dependencies]
dev = [
"PyQt5>=5.15.9",
"autoflake>=2.0.1",
"black>=23.1.0",
"flake8>=6.0.0",
"ipdb>=0.13.13",
"ipython>=8.13.2",
"isort>=5.12.0",
"matplotlib>=3.7.1",
]
[project]
name = ""
version = ""
description = ""
authors = [
{name = "Marius Cobzarenco", email = "[email protected]"},
]
dependencies = [
"accelerate",
"sentencepiece",
"torch",
"tqdm",
]
requires-python = ">=3.10"
license = {text = "MIT"}
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"
[tool.pdm.scripts]
check = {shell = """
flake8 llama
isort --check --diff llama
black --target-version py310 --check llama
pyright llama
"""}
fmt = {shell = """
autoflake -i -r llama
isort llama
black --target-version py310 llama
"""}
[tool.black]
line-length = 100
target_version = ["py38"]
include = '\.pyi?$'
exclude = '(.*_pb2\.pyi?|.git|.hypothesis|.mypy_cache|.pytest_cache|.tox|.venv|_build|build|dist|node_modules)'
[tool.isort]
known_third_party = []
known_first_party = ["llama"]
multi_line_output = 3
include_trailing_comma = true
use_parentheses = true
ignore_whitespace = true
float_to_top = true