-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
62 lines (52 loc) · 1.68 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
[project]
name = "pytorch-cortex"
dynamic = ["version", "readme", "dependencies", "optional-dependencies"]
description = "A modular architecture for deep learning systems."
authors = [{name = "Samuel Stanton", email = "[email protected]"}]
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
]
[project.scripts]
cortex_train_model = "cortex.cmdline.train_cortex_model:main"
cortex_finetune_model = "cortex.cmdline.finetune_cortex_model:main"
cortex_generate_designs = "cortex.cmdline.generate_designs:main"
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.in"]}
optional-dependencies = {dev = {file = ["requirements-dev.in"]}}
readme = {file = "README.rst"}
[tool.setuptools.packages.find]
include = ["cortex*"]
[tool.setuptools.package-data]
"cortex.config.hydra" = ["*.yaml"]
"cortex.assets" = ["*.txt"]
[tool.setuptools_scm]
search_parent_directories = true
version_scheme = "no-guess-dev"
local_scheme = "node-and-date"
fallback_version = "0.0.0"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"B905", # requires python >= 3.10
"B007", # unused-loop-control-variable
"E741", # ambiguous-variable-name
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
"F401", # MODULE IMPORTED BUT UNUSED
]