Skip to content

Commit

Permalink
Merge pull request #15 from ComputationalPhysiology/pre-commit-ci-upd…
Browse files Browse the repository at this point in the history
…ate-config

[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
finsberg authored Jun 19, 2024
2 parents 662d50d + 3c2aa29 commit c0be498
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -12,7 +12,7 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.5
rev: v0.4.9
hooks:
# Run the linter.
- id: ruff
Expand All @@ -21,6 +21,6 @@ repos:
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.950
rev: v1.10.0
hooks:
- id: mypy
1 change: 1 addition & 0 deletions src/mps/czifile.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
array([10, 10, 10], dtype=uint8)
"""

from __future__ import division
from __future__ import print_function

Expand Down
1 change: 1 addition & 0 deletions src/mps/nd2file.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
There are some heuristics for parsing files, so that even broken files (i.e. due to a crashed NIS instance)
have a possibility to open.
"""

from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
Expand Down
1 change: 1 addition & 0 deletions src/mps/scripts/analyze.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Analyze flourecense data
"""

import datetime
import json
import logging
Expand Down
1 change: 1 addition & 0 deletions src/mps/scripts/mps2mp4.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Create movie of data file
"""

import logging
from pathlib import Path
from typing import Optional
Expand Down
1 change: 1 addition & 0 deletions src/mps/scripts/phase_plot.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Make a phase plot with voltage on the x-axis
and calcium on the y-axis."""

import logging
from pathlib import Path
from typing import Optional
Expand Down
1 change: 1 addition & 0 deletions src/mps/scripts/split_pacing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Run script on a folder with files and this will copy the files into
folders with the same pacing frequency
"""

import logging
import shutil
from pathlib import Path
Expand Down
1 change: 1 addition & 0 deletions src/mps/scripts/summary.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Create a summary pdf of all files in the a directory.
"""

import logging
import shutil
from pathlib import Path
Expand Down
1 change: 1 addition & 0 deletions src/mps/tifffile.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@
... image = page.asarray()
"""

from __future__ import division
from __future__ import print_function

Expand Down

0 comments on commit c0be498

Please sign in to comment.