From 93204176e2d894315d3af9034cdc78740c4fc5f9 Mon Sep 17 00:00:00 2001 From: Renan Ivo Date: Sun, 12 Jan 2025 18:42:33 -0300 Subject: [PATCH] Move configurations files to pyproject.toml --- poetry.lock | 29 +---------------------------- pyproject.toml | 14 +++++++++++++- setup.cfg | 22 ---------------------- 3 files changed, 14 insertions(+), 51 deletions(-) diff --git a/poetry.lock b/poetry.lock index a8c5f41..405d689 100644 --- a/poetry.lock +++ b/poetry.lock @@ -47,33 +47,6 @@ d = ["aiohttp (>=3.10)"] jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] uvloop = ["uvloop (>=0.15.2)"] -[[package]] -name = "bump2version" -version = "1.0.1" -description = "Version-bump your software with a single command!" -optional = false -python-versions = ">=3.5" -groups = ["dev"] -files = [ - {file = "bump2version-1.0.1-py2.py3-none-any.whl", hash = "sha256:37f927ea17cde7ae2d7baf832f8e80ce3777624554a653006c9144f8017fe410"}, - {file = "bump2version-1.0.1.tar.gz", hash = "sha256:762cb2bfad61f4ec8e2bdf452c7c267416f8c70dd9ecb1653fd0bbb01fa936e6"}, -] - -[[package]] -name = "bumpversion" -version = "0.6.0" -description = "Version-bump your software with a single command!" -optional = false -python-versions = "*" -groups = ["dev"] -files = [ - {file = "bumpversion-0.6.0-py2.py3-none-any.whl", hash = "sha256:4eb3267a38194d09f048a2179980bb4803701969bff2c85fa8f6d1ce050be15e"}, - {file = "bumpversion-0.6.0.tar.gz", hash = "sha256:4ba55e4080d373f80177b4dabef146c07ce73c7d1377aabf9d3c3ae1f94584a6"}, -] - -[package.dependencies] -bump2version = "*" - [[package]] name = "click" version = "8.1.8" @@ -505,4 +478,4 @@ files = [ [metadata] lock-version = "2.1" python-versions = ">=3.10" -content-hash = "cdea84681a56a8b29ab7764577643a1bd83df04e69b7a7d8de03fc0f497855fc" +content-hash = "08817bd12b7f4eed3cfef68aa0bc6cf6c5bbc3e816a9b7ebe39ed5b6767c1bff" diff --git a/pyproject.toml b/pyproject.toml index 72fddd5..9144c1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,6 @@ build-backend = "poetry.core.masonry.api" [tool.poetry.group.dev.dependencies] black = {version = "24.10.0", extras = ["typed-ast"]} mypy = "1.14.1" -bumpversion = "^0.6.0" flake8 = "^7.1.1" pytest-cov = "^6.0.0" isort = "^5.13.2" @@ -57,3 +56,16 @@ line-length = 79 [tool.mypy] ignore_missing_imports = true + +[tool.coverage.run] +omit = [ + "*/*/tests/*", +] + +[tool.isort] +profile = "black" +known_first_party = "pytest_testdox" +atomic = true +line_length = 79 +multi_line_output = 3 +use_parentheses = true diff --git a/setup.cfg b/setup.cfg index c732343..a40a644 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,24 +1,2 @@ -[bumpversion] -current_version = 3.1.0 -commit = True -tag = True -tag_name = {new_version} - -[bdist_wheel] -universal = 1 - -[bumpversion:file:setup.py] - -[coverage:run] -omit = */*/tests/* - -[isort] -profile = black -known_first_party = pytest_testdox -atomic = true -line_length = 79 -multi_line_output = 3 -use_parentheses = true - [flake8] extend-ignore = E203