Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #354

Merged
merged 2 commits into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ repos:
- id: check-toml

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.9
rev: v0.3.4
hooks:
- id: ruff-format
- id: ruff
args: [--fix]

- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.12.0
rev: v2.13.0
hooks:
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
1 change: 1 addition & 0 deletions src/idefix_cli/_commands/clean.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""remove compilation files"""

from __future__ import annotations

import os
Expand Down
1 change: 1 addition & 0 deletions src/idefix_cli/_commands/clone.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""clone a problem directory"""

from __future__ import annotations

import os
Expand Down
1 change: 1 addition & 0 deletions src/idefix_cli/_commands/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
Any additional argument is passed directly to cmake.
Use the -i/--interactive flag to enable ccmake as the backend.
"""

from __future__ import annotations

import os
Expand Down
1 change: 1 addition & 0 deletions src/idefix_cli/_commands/digest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""agregate performance data from log files as json"""

import re
import sys
from argparse import ArgumentParser
Expand Down
1 change: 1 addition & 0 deletions src/idefix_cli/_commands/read.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""read an Idefix inifile and print it to json format"""

from __future__ import annotations

import json
Expand Down
1 change: 1 addition & 0 deletions src/idefix_cli/_commands/run.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""run an Idefix problem"""

from __future__ import annotations

import os
Expand Down
1 change: 1 addition & 0 deletions src/idefix_cli/_commands/switch.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""switch git branch in $IDEFIX_DIR using git checkout"""

import os
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions src/idefix_cli/_commands/write.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""write an Idefix inifile from a json string"""

from __future__ import annotations

import argparse
Expand Down