-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (59 loc) · 1.82 KB
/
pyproject.toml
File metadata and controls
70 lines (59 loc) · 1.82 KB
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
[build-system]
requires = ["setuptools>=69", "wheel", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "mlflow-cloudsmith"
dynamic = ["version"]
description = "MLflow plugin for storing artifacts in Cloudsmith repositories"
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "Cloudsmith Customer Engineering", email = "support@cloudsmith.com" }]
requires-python = ">=3.8"
dependencies = [
"requests>=2.25.0",
"mlflow>=2.12.0",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
]
[project.optional-dependencies]
dev = [
"pytest>=6.0",
"pytest-cov>=2.0",
"black>=22.0",
"flake8>=4.0",
"mypy>=0.950",
"build>=1.0.0",
]
test = ["pytest>=6.0", "pytest-cov>=2.0"]
[project.entry-points."mlflow.artifact_repository"]
cloudsmith = "plugin.cloudsmith_repository:CloudsmithArtifactRepository"
[project.urls]
"Source" = "https://github.com/cloudsmith-io/mlflow-cloudsmith-plugin"
"Bug Tracker" = "https://github.com/cloudsmith-io/mlflow-cloudsmith-plugin/issues"
"Documentation" = "https://github.com/cloudsmith-io/mlflow-cloudsmith-plugin#readme"
[tool.setuptools]
packages = { find = { exclude = ["tests", "tests.*"] } }
[tool.setuptools_scm]
version_scheme = "release-branch-semver"
local_scheme = "no-local-version"
fallback_version = "0.0.0"
[tool.pytest.ini_options]
addopts = "-ra --cov=plugin --cov-report=term-missing"
testpaths = ["tests"]
filterwarnings = [
"ignore:Failure attempting to register artifact repository for scheme \"cloudsmith\":UserWarning",
]
[tool.black]
line-length = 100
target-version = ["py38"]
[tool.flake8]
max-line-length = 100
extend-ignore = ["E203"]
[tool.mypy]
python_version = "3.8"
warn_unused_ignores = true
warn_return_any = true
warn_redundant_casts = true
warn_unreachable = true