From f38cb8d22574651161885be919340410647a20e8 Mon Sep 17 00:00:00 2001 From: Georgi Valkov Date: Sun, 18 Feb 2024 17:11:57 +0100 Subject: [PATCH] Move to bump-my-version from bump2version --- pyproject.toml | 17 ++++++++++++++++- setup.cfg | 13 ------------- 2 files changed, 16 insertions(+), 14 deletions(-) delete mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml index e1115d4..c8ca727 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,4 +36,19 @@ packages = ["evdev"] line-length = 120 [tool.ruff.lint] -ignore = ["E265", "E241", "F403", "F401", "E401", "E731"] \ No newline at end of file +ignore = ["E265", "E241", "F403", "F401", "E401", "E731"] + +[tool.bumpversion] +current_version = "1.6.1" +commit = true +tag = true +allow_dirty = true + +[tool.bumpversion.parts.dev] +values = ["release", "post"] + +[[tool.bumpversion.files]] +filename = "pyproject.toml" + +[[tool.bumpversion.files]] +filename = "docs/conf.py" \ No newline at end of file diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 47ca660..0000000 --- a/setup.cfg +++ /dev/null @@ -1,13 +0,0 @@ -[bumpversion] -current_version = 1.6.1 -message = Bump version: {current_version} -> {new_version} -commit = True -tag = True - -[flake8] -ignore = W191,E302,E265,E241,F403,E401 -max-line-length = 110 - -[bumpversion:file:setup.py] - -[bumpversion:file:docs/conf.py]