Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#186)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](pre-commit/pre-commit-hooks@v4.4.0...v4.5.0)
- [github.com/astral-sh/ruff-pre-commit: v0.0.257 → v0.1.1](astral-sh/ruff-pre-commit@v0.0.257...v0.1.1)
- [github.com/psf/black: 22.8.0 → 23.10.0](psf/black@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>
  • Loading branch information
pre-commit-ci[bot] authored Oct 25, 2023
1 parent 15a2276 commit 6c6783a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 2 additions & 4 deletions disdrodb/l0/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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


Expand Down

0 comments on commit 6c6783a

Please sign in to comment.