-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
96 lines (84 loc) · 2.5 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
95
96
# See PEP-517 and PEP-518 for details.
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "skoltech-lotr"
version = "0.1.0"
description = "Lord of the Rank."
license = {text = "Apache-2.0"}
authors = [
{name = "Daniel Bershatsky", email = "[email protected]"},
]
maintainers = [
{name = "Daniel Bershatsky", email = "[email protected]"},
]
readme = {file = "README.md", content-type = "text/markdown"}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development",
"Typing :: Typed",
]
dependencies = [
"torch",
"typing-extensions; python_version<'3.11'",
]
requires-python = ">=3.8,<4"
[project.optional-dependencies]
dev = ["isort", "pytest>=7", "pytest-benchmark>=4", "ruff~=0.4"]
exp = [
"accelerate",
"datasets",
"evaluate",
"optuna",
"transformers",
]
[project.urls]
Homepage = "https://doge.skoltech.ru/bershatsky/lotr"
Repository = "https://doge.skoltech.ru/bershatsky/lotr.git"
[tool.isort]
[tool.mypy]
ignore_missing_imports = true
plugins = "numpy.typing.mypy_plugin"
show_column_numbers = true
show_error_codes = true
show_error_context = false
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q -m 'not slow'"
testpaths = ["lotr"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
filterwarnings = ["ignore::DeprecationWarning"]
python_classes = ["Test*", "*Benchmark"]
[tool.ruff]
include = ["benchmark/*.py", "lotr/**/*.py", "lotr/**/*.pyi", "pyproject.toml"]
[tool.setuptools]
include-package-data = false
platforms = ["Linux"]
zip-safe = true
[tool.setuptools.packages.find]
include = ["lotr*"]
namespaces = false
[tool.setuptools.package-data]
lotr = ["py.typed"]
[tool.yapf]
based_on_style = "pep8"