|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools>=69", "wheel", "setuptools-scm>=8"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "mlflow-cloudsmith-plugin" |
| 7 | +dynamic = ["version"] |
| 8 | +description = "MLflow plugin for storing artifacts in Cloudsmith repositories" |
| 9 | +readme = "README.md" |
| 10 | +license = { file = "LICENSE" } |
| 11 | +authors = [{ name = "Cloudsmith Customer Engineering", email = "support@cloudsmith.com" }] |
| 12 | +requires-python = ">=3.8" |
| 13 | +dependencies = [ |
| 14 | + "requests>=2.25.0", |
| 15 | + "mlflow>=2.12.0", |
| 16 | +] |
| 17 | +classifiers = [ |
| 18 | + "Development Status :: 3 - Alpha", |
| 19 | + "Programming Language :: Python :: 3", |
| 20 | +] |
| 21 | + |
| 22 | + |
| 23 | +[project.optional-dependencies] |
| 24 | +dev = [ |
| 25 | + "pytest>=6.0", |
| 26 | + "pytest-cov>=2.0", |
| 27 | + "black>=22.0", |
| 28 | + "flake8>=4.0", |
| 29 | + "mypy>=0.950", |
| 30 | + "build>=1.0.0", |
| 31 | +] |
| 32 | +test = ["pytest>=6.0", "pytest-cov>=2.0"] |
| 33 | + |
| 34 | +[project.entry-points."mlflow.artifact_repository"] |
| 35 | +cloudsmith = "plugin.cloudsmith_repository:CloudsmithArtifactRepository" |
| 36 | + |
| 37 | +[project.urls] |
| 38 | +"Source" = "https://github.com/cloudsmith-io/mlflow-cloudsmith-plugin" |
| 39 | +"Bug Tracker" = "https://github.com/cloudsmith-io/mlflow-cloudsmith-plugin/issues" |
| 40 | +"Documentation" = "https://github.com/cloudsmith-io/mlflow-cloudsmith-plugin#readme" |
| 41 | + |
| 42 | +[tool.setuptools] |
| 43 | +packages = { find = { exclude = ["tests", "tests.*"] } } |
| 44 | + |
| 45 | +[tool.setuptools_scm] |
| 46 | +version_scheme = "release-branch-semver" |
| 47 | +local_scheme = "no-local-version" |
| 48 | +fallback_version = "0.0.0" |
| 49 | + |
| 50 | +[tool.pytest.ini_options] |
| 51 | +addopts = "-ra --cov=plugin --cov-report=term-missing" |
| 52 | +testpaths = ["tests"] |
| 53 | +filterwarnings = [ |
| 54 | + "ignore:Failure attempting to register artifact repository for scheme \"cloudsmith\":UserWarning", |
| 55 | +] |
| 56 | + |
| 57 | +[tool.black] |
| 58 | +line-length = 100 |
| 59 | +target-version = ["py38"] |
| 60 | + |
| 61 | +[tool.flake8] |
| 62 | +max-line-length = 100 |
| 63 | +extend-ignore = ["E203"] |
| 64 | + |
| 65 | +[tool.mypy] |
| 66 | +python_version = "3.8" |
| 67 | +warn_unused_ignores = true |
| 68 | +warn_return_any = true |
| 69 | +warn_redundant_casts = true |
| 70 | +warn_unreachable = true |
0 commit comments