From e3c04e90cb93c7f1bf6d40f5b62a3a64bdfac921 Mon Sep 17 00:00:00 2001 From: "Bradley A. Thornton" Date: Fri, 7 Jun 2024 05:18:23 -0700 Subject: [PATCH] Set cache dirs (#207) * Set cache dirs * Set cache dirs --- go.json | 50 -------------------------------------------------- pyproject.toml | 3 +++ 2 files changed, 3 insertions(+), 50 deletions(-) delete mode 100644 go.json diff --git a/go.json b/go.json deleted file mode 100644 index 07ab6f4..0000000 --- a/go.json +++ /dev/null @@ -1,50 +0,0 @@ -[ - { - "name": "lint", - "passed_name": "lint", - "python_version": "3.12", - "os": "ubuntu-22.04" - }, - { - "name": "docs", - "passed_name": "docs", - "python_version": "3.12", - "os": "ubuntu-22.04" - }, - { - "name": "pkg", - "passed_name": "pkg", - "python_version": "3.12", - "os": "ubuntu-22.04" - }, - { - "name": "py310", - "python_version": "3.10", - "os": "ubuntu-22.04", - "passed_name": "py310" - }, - { - "name": "py311", - "python_version": "3.11", - "os": "ubuntu-22.04", - "passed_name": "py311" - }, - { - "name": "py312", - "python_version": "3.12", - "os": "ubuntu-22.04", - "passed_name": "py312" - }, - { - "name": "py310-macos", - "python_version": "3.10", - "os": "macos-13", - "passed_name": "py310" - }, - { - "name": "py312-macos", - "python_version": "3.12", - "os": "macos-13", - "passed_name": "py312" - } -] diff --git a/pyproject.toml b/pyproject.toml index b889e96..29eb32b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,6 +59,7 @@ parallel = true source_pkgs = ["ansible_dev_environment"] [tool.mypy] +cache_dir = "./.cache/.mypy" files = ["src", "tests"] strict = true @@ -306,12 +307,14 @@ fail-on = [ [tool.pytest.ini_options] addopts = "-ra --showlocals --durations=10" +cache_dir = "./.cache/.pytest" testpaths = "tests" tmp_path_retention_policy = "failed" verbosity_assertions = 2 [tool.ruff] builtins = ["__"] +cache-dir = "./.cache/.ruff" fix = true line-length = 100 target-version = "py310"