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