-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpyproject.toml
111 lines (97 loc) · 2.7 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[build-system]
requires = ["setuptools>=75.6.0", "setuptools-scm[toml]>=8.1.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mlinfra"
description = "A tool to deploy mlops tooling at the click of a button."
dynamic = ["version"]
keywords = ["mlinfra"]
requires-python = ">=3.11"
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "Ali Abbas Jaffri", email = "[email protected]" }]
maintainers = [{ name = "Ali Abbas Jaffri", email = "[email protected]" }]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Topic :: System :: Distributed Computing"
]
dependencies = [
"boto3",
"pyyaml",
"GitPython",
"mypy",
"getmac",
"requests",
"typer",
"rich"
]
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.package-data]
mlinfra = ["**/*.tf", "**/*.tpl", "**/*.json", "**/*.yaml"]
[project.urls]
Homepage = "https://github.com/mlinfra-io/mlinfra"
Repository = "https://github.com/mlinfra-io/mlinfra.git"
Documentation = "https://mlinfra.io/"
[project.optional-dependencies]
dev = [
"pre-commit",
"pytest",
"pytest-mock",
"zipp>=3.20.2"
]
docs = [
"mkdocs-material",
"mkdocs-git-revision-date-localized-plugin",
"mike",
"mkdocs-section-index"
]
# Automatically determine version number from Git tags
[tool.setuptools_scm]
[tool.mypy]
allow_redefinition = true
check_untyped_defs = true
disallow_incomplete_defs = true
pretty = true
python_version = "3.11"
strict_optional = false
warn_unreachable = true
[[tool.mypy.overrides]]
module = ["yaml"]
ignore_missing_imports = true
[tool.ruff]
# explicitly set src folder for isort to understand first-party imports correctly.
src = ["mlinfra"]
line-length = 100
# Enable pycodestyle errors & warnings (`E`, `W`), Pyflakes (`F`), and isort (`I`) by default.
lint.select = ["E", "F", "I", "W"]
lint.ignore = [
# Line too long
"E501",
# Allow capitalized variable names
"F841",
]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 90
skip_glob = ['**/venv/**']
[project.scripts]
mlinfra = "mlinfra.cli.cli:cli"
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "WARNING"
[tool.bandit]
exclude_dirs = ["tests/", "docs/"]