Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent a423ab1 commit 76e15cf
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions bird_cloud_gnn/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Documentation about bird_cloud_gnn"""

import logging


Expand Down
1 change: 1 addition & 0 deletions bird_cloud_gnn/cross_validation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Helper functions for cross validation.
"""

import numpy as np
import pandas as pd
from dgl.dataloading import GraphDataLoader
Expand Down
1 change: 1 addition & 0 deletions bird_cloud_gnn/early_stopper.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Module for early stopping class
"""

import numpy as np


Expand Down
6 changes: 3 additions & 3 deletions bird_cloud_gnn/fake.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ def to01(value):
point_cloud.loc[
np.random.randint(0, num_points, num_points // 100), "feat2"
] = None
point_cloud.loc[
np.random.randint(0, num_points, num_points // 20), "feat3"
] = None
point_cloud.loc[np.random.randint(0, num_points, num_points // 20), "feat3"] = (
None
)

if filename is not None:
point_cloud.to_csv(filename, index=None)
Expand Down
1 change: 1 addition & 0 deletions tests/test_cross_validation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for cross_validation"""

from torch import nn
from bird_cloud_gnn.cross_validation import kfold_evaluate
from bird_cloud_gnn.cross_validation import leave_one_origin_out_evaluate
Expand Down
1 change: 1 addition & 0 deletions tests/test_gnn_model.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for gnn_model module"""

import torch
from dgl.dataloading import GraphDataLoader
from torch import nn
Expand Down

0 comments on commit 76e15cf

Please sign in to comment.