Skip to content

Commit 9da9fd9

Browse files
committed
Update isort command
1 parent 1e2bbca commit 9da9fd9

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repos:
2626
rev: 6.0.1
2727
hooks:
2828
- id: isort
29-
args: ["--profile", "black"]
29+
args: ["--profile", "black", "-o", "wandb"]
3030
description: Group and sort Python imports
3131

3232
- repo: https://github.com/PyCQA/flake8

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
# spacecast
1+
# spacecast
2+
3+
[![Linting](https://github.com/fmihpc/spacecast/actions/workflows/pre-commit.yml/badge.svg)](https://github.com/fmihpc/spacecast/actions/workflows/pre-commit.yml)

neural_lam/models/ar_model.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77
import numpy as np
88
import pytorch_lightning as pl
99
import torch
10-
import xarray as xr
11-
1210
import wandb
11+
import xarray as xr
1312

1413
# Local
1514
from .. import metrics, vis

neural_lam/models/graph_efm.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
import matplotlib.pyplot as plt
55
import numpy as np
66
import torch
7-
import xarray as xr
8-
97
import wandb
8+
import xarray as xr
109

1110
# Local
1211
from .. import metrics, utils, vis

0 commit comments

Comments
 (0)