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 Sep 2, 2024
1 parent 326bf89 commit 21e6f3d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ jobs:
- name: Test with pytest
run: |
pytest
2 changes: 1 addition & 1 deletion tests/test_latent_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from gnn_tracking.analysis.latent import SelectedPidsPlot


@pytest.fixture()
@pytest.fixture
def selected_pids_test_data() -> dict[str, np.ndarray]:
kwargs = {}
for key in ["condensation_space", "input_node_features"]:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_lightning_from_config_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __new__(cls, *args, **kwargs) -> TrackingDataModule:
)


@pytest.mark.slow()
@pytest.mark.slow
@pytest.mark.parametrize("config_file", AVAILABLE_CONFIGS)
def test_train_from_config(config_file: Path, tmp_path):
logger = WandbLogger(
Expand Down
6 changes: 3 additions & 3 deletions tests/test_point_cloud_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
from .test_data import trackml_test_data_dir


@pytest.fixture()
@pytest.fixture
def test_data_files():
hits, particles, truth, cells = simple_data_loader(
trackml_test_data_dir / "event000000001"
)
return hits, particles, truth, cells


@pytest.fixture()
@pytest.fixture
def point_cloud_builder():
return PointCloudBuilder(
outdir="tmp_output/",
Expand All @@ -43,7 +43,7 @@ def point_cloud_builder():
)


@pytest.fixture()
@pytest.fixture
def point_cloud_builder_pixel():
return PointCloudBuilder(
outdir="tmp_output/pixel/",
Expand Down

0 comments on commit 21e6f3d

Please sign in to comment.