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 #270

Closed
wants to merge 2 commits into from
Closed
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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.10.0
rev: 24.2.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
exclude: ^(nobrainer/_version\.py|versioneer\.py)$
Expand Down
1 change: 1 addition & 0 deletions nobrainer/io.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Input/output methods."""

import csv
import functools
import multiprocessing
Expand Down
1 change: 1 addition & 0 deletions nobrainer/models/autoencoder.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Model definition for Autoencoder.
"""

import math

from tensorflow.keras import layers, models
Expand Down
1 change: 1 addition & 0 deletions nobrainer/models/dcgan.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Model definition for DCGAN.
"""

import math

from tensorflow.keras import layers, models
Expand Down
1 change: 1 addition & 0 deletions nobrainer/models/progressiveae.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Model definition for ProgressiveAE.
"""

import tensorflow as tf
from tensorflow.keras import layers, models

Expand Down
6 changes: 3 additions & 3 deletions nobrainer/processing/segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ def _compile():
epochs=epochs,
steps_per_epoch=dataset_train.get_steps_per_epoch(),
validation_data=dataset_validate.dataset if dataset_validate else None,
validation_steps=dataset_validate.get_steps_per_epoch()
if dataset_validate
else None,
validation_steps=(
dataset_validate.get_steps_per_epoch() if dataset_validate else None
),
callbacks=callbacks,
)

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

To install, run `python3 setup.py install`.
"""

import os
import sys

Expand Down
Loading