From 999b183e1547b63deee9e399372ee5054e2b4c04 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 20:26:41 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.1) - [github.com/PyCQA/flake8: 6.1.0 → 7.0.0](https://github.com/PyCQA/flake8/compare/6.1.0...7.0.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a9cc9a0a9..662333470 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: # Autoformat: Python code - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.1.1 hooks: - id: black args: @@ -73,7 +73,7 @@ repos: # Lint: Python code - repo: https://github.com/PyCQA/flake8 - rev: "6.1.0" + rev: "7.0.0" hooks: - id: flake8 From c247f4f53114312877cfc5bbd7703e82bdda941c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 20:28:11 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- images/analytics-publisher/archiver.py | 1 + images/analytics-publisher/cloudcosts.py | 1 + tests/test_http.py | 1 + 3 files changed, 3 insertions(+) diff --git a/images/analytics-publisher/archiver.py b/images/analytics-publisher/archiver.py index 12dd086f3..b2e071d09 100644 --- a/images/analytics-publisher/archiver.py +++ b/images/analytics-publisher/archiver.py @@ -1,6 +1,7 @@ """ Read event logs from stackdriver & export them to Google Cloud Storage """ + import argparse import json import tempfile diff --git a/images/analytics-publisher/cloudcosts.py b/images/analytics-publisher/cloudcosts.py index 1d9fd9a46..227b03497 100644 --- a/images/analytics-publisher/cloudcosts.py +++ b/images/analytics-publisher/cloudcosts.py @@ -1,6 +1,7 @@ """ Produces daily summaries of GCP spending data. """ + import argparse import csv import io diff --git a/tests/test_http.py b/tests/test_http.py index 0f16281f2..5735c74dc 100644 --- a/tests/test_http.py +++ b/tests/test_http.py @@ -1,4 +1,5 @@ """Basic HTTP tests to make sure things are running""" + import pprint import pytest