From 77b8b33b0a825ae14df6c07d953c18ebc40b56d6 Mon Sep 17 00:00:00 2001 From: Ofek Lev Date: Fri, 16 Jun 2023 12:48:38 -0400 Subject: [PATCH] Bump the minimum version of datadog-checks-dev --- ddev/pyproject.toml | 2 +- ddev/src/ddev/cli/{clean.py => clean/__init__.py} | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) rename ddev/src/ddev/cli/{clean.py => clean/__init__.py} (76%) diff --git a/ddev/pyproject.toml b/ddev/pyproject.toml index 43e7bd0362efa..c16b4e9e44059 100644 --- a/ddev/pyproject.toml +++ b/ddev/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", ] dependencies = [ - "datadog-checks-dev[cli]~=19.0", + "datadog-checks-dev[cli]~=20.0", "hatch>=1.6.3", "httpx", "jsonpointer", diff --git a/ddev/src/ddev/cli/clean.py b/ddev/src/ddev/cli/clean/__init__.py similarity index 76% rename from ddev/src/ddev/cli/clean.py rename to ddev/src/ddev/cli/clean/__init__.py index a31204d12ed16..0805c00e1948d 100644 --- a/ddev/src/ddev/cli/clean.py +++ b/ddev/src/ddev/cli/clean/__init__.py @@ -18,4 +18,6 @@ def clean(app: Application): Remove build and test artifacts for the entire repository. """ with app.repo.path.as_cwd(): - app.platform.run_command(["git", "clean", "-fdX", "-e", "!.vscode", "-e", "!.idea"]) + app.platform.run_command( + ["git", "clean", "-fdX", "-e", "!.vscode", "-e", "!.idea", "-e", "!ddev/src/ddev/_version.py"] + )