diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7946a926..0cec8bbe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -24,14 +24,14 @@ repos: - id: trailing-whitespace - repo: https://github.com/PyCQA/bandit - rev: 1.7.9 + rev: 1.8.3 hooks: - id: bandit args: ["-c", "pyproject.toml"] additional_dependencies: ["bandit[toml]"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.4 + rev: v0.11.9 hooks: - id: ruff-format - id: ruff diff --git a/tests/test_queries.py b/tests/test_queries.py index c9a26ed0..93c29179 100644 --- a/tests/test_queries.py +++ b/tests/test_queries.py @@ -47,7 +47,7 @@ def test_project_methods(self): # Upload image responses.add( responses.POST, - f"{API_URL}/dataset/{PROJECT_NAME}/upload?api_key={ROBOFLOW_API_KEY}" f"&batch={DEFAULT_BATCH_NAME}", + f"{API_URL}/dataset/{PROJECT_NAME}/upload?api_key={ROBOFLOW_API_KEY}&batch={DEFAULT_BATCH_NAME}", json={"duplicate": True, "id": "hbALkCFdNr9rssgOUXug"}, status=200, )