From 6c6783a6a7821c8ab5fc44cc62ae2434b3b4af88 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 25 Oct 2023 18:40:42 +0200 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#186) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0) - [github.com/astral-sh/ruff-pre-commit: v0.0.257 → v0.1.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.257...v0.1.1) - [github.com/psf/black: 22.8.0 → 23.10.0](https://github.com/psf/black/compare/22.8.0...23.10.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 6 +++--- disdrodb/l0/issue.py | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c59d69f4..fb4930bb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,18 +1,18 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.257 + rev: v0.1.1 hooks: - id: ruff args: [--fix] - repo: https://github.com/psf/black - rev: 22.8.0 + rev: 23.10.0 hooks: - id: black language_version: python3 diff --git a/disdrodb/l0/issue.py b/disdrodb/l0/issue.py index eea0c071..6b65f4c6 100644 --- a/disdrodb/l0/issue.py +++ b/disdrodb/l0/issue.py @@ -250,8 +250,7 @@ def check_issue_file(fpath: str) -> None: def _write_issue_docs(f): """Provide template for issue.yml""" - f.write( - """# This file is used to store timesteps/time periods with wrong/corrupted observation. + f.write("""# This file is used to store timesteps/time periods with wrong/corrupted observation. # The specified timesteps are dropped during the L0 processing. # The time format used is the isoformat : YYYY-mm-dd HH:MM:SS. # The 'timesteps' key enable to specify the list of timesteps to be discarded. @@ -267,8 +266,7 @@ def _write_issue_docs(f): # - ['2018-08-01 12:00:00', '2018-08-01 14:00:00'] # - ['2018-08-01 15:44:30', '2018-08-01 15:59:31'] # - ['2018-08-02 12:44:30', '2018-08-02 12:59:31'] \n -""" - ) +""") return None