From 74f88aae30be11045a6260e9019079d2d7c3f1a8 Mon Sep 17 00:00:00 2001 From: Daan Debie Date: Sun, 24 Nov 2024 14:07:37 +0100 Subject: [PATCH] chore: cleanup tox --- pyproject.toml | 3 --- tox.ini | 26 ----------------------- uv.lock | 57 -------------------------------------------------- 3 files changed, 86 deletions(-) delete mode 100644 tox.ini diff --git a/pyproject.toml b/pyproject.toml index 61cf267b..543c9d47 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,8 +61,6 @@ slack-machine = "machine.bin.run:main" dev = [ "pytest>=7.1.3,<9.0.0", "pytest-mock>=3.10.0,<4.0.0", - "tox>=3.26.0,<4.0.0", - "tox-gh-actions>=2.10.0,<3.0.0", "coverage>=6.5,<8.0", "redis>=4.3.4,<6.0.0", "pre-commit>=2.20,<5.0", @@ -99,7 +97,6 @@ target-version = "py39" [tool.ruff.lint] exclude = [ ".git", - ".tox", ".eggs", "docs", "__pycache__", diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 2caea6eb..00000000 --- a/tox.ini +++ /dev/null @@ -1,26 +0,0 @@ -[tox] -isolated_build = true -envlist = py39,py310,py311,py312,py313,ruff,mypy - -[testenv] -allowlist_externals = poetry -commands_pre = poetry install --with dev -commands = pytest - -[testenv:ruff] -deps = ruff -commands_pre = -commands = ruff check - -[testenv:mypy] -deps = mypy -commands = mypy machine/ - -[gh-actions] -python = - 3.8: py38 - 3.9: py39 - 3.10: py310 - 3.11: py311 - 3.12: py312 - 3.13: ruff, mypy, py313 diff --git a/uv.lock b/uv.lock index f316c14f..fb71a232 100644 --- a/uv.lock +++ b/uv.lock @@ -906,18 +906,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/a0/d9/a1e041c5e7caa9a05c925f4bdbdfb7f006d1f74996af53467bc394c97be7/importlib_metadata-8.5.0-py3-none-any.whl", hash = "sha256:45e54197d28b7a7f1559e60b95e7c567032b602131fbd588f1497f47880aa68b", size = 26514 }, ] -[[package]] -name = "importlib-resources" -version = "6.4.5" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "zipp", marker = "python_full_version < '3.10'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/98/be/f3e8c6081b684f176b761e6a2fef02a0be939740ed6f54109a2951d806f3/importlib_resources-6.4.5.tar.gz", hash = "sha256:980862a1d16c9e147a59603677fa2aa5fd82b87f223b6cb870695bcfce830065", size = 43372 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/e1/6a/4604f9ae2fa62ef47b9de2fa5ad599589d28c9fd1d335f32759813dfa91e/importlib_resources-6.4.5-py3-none-any.whl", hash = "sha256:ac29d5f956f01d5e4bb63102a5a19957f1b9175e45649977264a1416783bb717", size = 36115 }, -] - [[package]] name = "iniconfig" version = "2.0.0" @@ -1481,15 +1469,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/3d/b6/e6d98278f2d49b22b4d033c9f792eda783b9ab2094b041f013fc69bcde87/propcache-0.2.0-py3-none-any.whl", hash = "sha256:2ccc28197af5313706511fab3a8b66dcd6da067a1331372c82ea1cb74285e036", size = 11603 }, ] -[[package]] -name = "py" -version = "1.11.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/98/ff/fec109ceb715d2a6b4c4a85a61af3b40c723a961e8828319fbcb15b868dc/py-1.11.0.tar.gz", hash = "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719", size = 207796 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/f6/f0/10642828a8dfb741e5f3fbaac830550a518a775c7fff6f04a007259b0548/py-1.11.0-py2.py3-none-any.whl", hash = "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378", size = 98708 }, -] - [[package]] name = "pycparser" version = "2.22" @@ -1987,8 +1966,6 @@ dev = [ { name = "pyyaml" }, { name = "redis" }, { name = "ruff" }, - { name = "tox" }, - { name = "tox-gh-actions" }, { name = "types-aiobotocore", extra = ["essential"] }, { name = "types-redis" }, { name = "typing-extensions" }, @@ -2034,8 +2011,6 @@ dev = [ { name = "pyyaml", specifier = ">=6.0.1,<7.0.0" }, { name = "redis", specifier = ">=4.3.4,<6.0.0" }, { name = "ruff", specifier = ">=0.8.0,<0.9.0" }, - { name = "tox", specifier = ">=3.26.0,<4.0.0" }, - { name = "tox-gh-actions", specifier = ">=2.10.0,<3.0.0" }, { name = "types-aiobotocore", extras = ["essential"], specifier = ">=2.4.0,<3.0.0" }, { name = "types-redis", specifier = ">=4.3.21,<5.0.0" }, { name = "typing-extensions", specifier = ">=4.4.0,<5.0.0" }, @@ -2083,38 +2058,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/de/f7/4da0ffe1892122c9ea096c57f64c2753ae5dd3ce85488802d11b0992cc6d/tomli-2.1.0-py3-none-any.whl", hash = "sha256:a5c57c3d1c56f5ccdf89f6523458f60ef716e210fc47c4cfb188c5ba473e0391", size = 13750 }, ] -[[package]] -name = "tox" -version = "3.28.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "colorama", marker = "platform_system == 'Windows'" }, - { name = "filelock" }, - { name = "packaging" }, - { name = "pluggy" }, - { name = "py" }, - { name = "six" }, - { name = "tomli", marker = "python_full_version < '3.11'" }, - { name = "virtualenv" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/03/39/7890784b9d6b3be12b88d3139ddbaccfd21167dcdcc6ddbf0182952b4c23/tox-3.28.0.tar.gz", hash = "sha256:d0d28f3fe6d6d7195c27f8b054c3e99d5451952b54abdae673b71609a581f640", size = 320038 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/31/c7/69ec9b8bbb4fe649b4bc960a53b837b4dace889137be5f23b4236a3e9f7c/tox-3.28.0-py2.py3-none-any.whl", hash = "sha256:57b5ab7e8bb3074edc3c0c0b4b192a4f3799d3723b2c5b76f1fa9f2d40316eea", size = 86766 }, -] - -[[package]] -name = "tox-gh-actions" -version = "2.12.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "importlib-resources" }, - { name = "tox" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/39/5a/c73e1a64365fc122a7bfc45d0e42e782bdac7e3ec0a7c6bf2e333deeac3c/tox-gh-actions-2.12.0.tar.gz", hash = "sha256:7a8aa62cd616b0e74c7db204bc44bbd603574f468f00c4ba3a2a3c87de8cf514", size = 22206 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/99/e8/201723d99eda8034d32ab14b6f88f8151e4ae585847f00a37031902ba99a/tox_gh_actions-2.12.0-py2.py3-none-any.whl", hash = "sha256:5214db422a3297854db14fe814d59bd95674b7c577793bf406e7832dabeca03d", size = 11300 }, -] - [[package]] name = "types-aiobotocore" version = "2.15.2.post1"