Skip to content

Commit

Permalink
🔥 🔧 Migrate pytest, bump-my-version and flake8 from setup.cfg to pypr…
Browse files Browse the repository at this point in the history
…oject.toml
  • Loading branch information
Galileo-Galilei committed Dec 19, 2023
1 parent 7af0f10 commit 668011b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 23 deletions.
21 changes: 21 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[tool.pytest.ini_options]
addopts = "--cov=kedro_mlflow --cov-report=html tests/"

[tool.ruff]
select = [
"F", # Pyflakes
Expand All @@ -9,3 +12,21 @@ select = [
]
ignore = ["E501", "PLR0913"] # Black take care off line-too-long
exclude = ["/template/"]

[tool.bumpversion]
current_version = "0.11.10"

[[tool.bumpversion.files]]
filename = "setup.py"

[[tool.bumpversion.files]]
filename = "kedro_mlflow/__init__.py"

[[tool.bumpversion.files]]
filename = "README.md"

[[tool.bumpversion.files]]
filename = "docs/source/02_installation/01_installation.md"

[[tool.bumpversion.files]]
filename = "docs/source/03_getting_started/01_example_project.md"
22 changes: 0 additions & 22 deletions setup.cfg

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def _parse_requirements(path, encoding="utf-8"):

setup(
name=NAME,
version="0.11.10", # this will be bumped automatically by bump2version
version="0.11.10", # this will be bumped automatically by bump-my-version
description="A kedro-plugin to use mlflow in your kedro projects",
license="Apache Software License (Apache 2.0)",
long_description=README,
Expand Down

0 comments on commit 668011b

Please sign in to comment.