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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ default_language_version:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: check-merge-conflict # checks for files that contain merge conflict strings
- id: check-toml # checks toml files for parseable syntax
Expand All @@ -13,23 +13,23 @@ repos:
# exclude: 'ubermagutil/tests/test_sample/.*'

- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/nbQA-dev/nbQA
rev: 1.6.3
rev: 1.8.5
hooks:
- id: nbqa-isort # isort inside Jupyter notebooks

- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies: [flake8-rst-docstrings] #, flake8-docstrings]

- repo: https://github.com/psf/black
rev: 23.1.0
rev: 24.4.2
hooks:
- id: black-jupyter

Expand Down
1 change: 1 addition & 0 deletions tasks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tasks to release the package."""

import os
import shutil

Expand Down
1 change: 1 addition & 0 deletions ubermagutil/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utilities used across Ubermag."""

import importlib.metadata

import pytest
Expand Down
1 change: 1 addition & 0 deletions ubermagutil/basic_logging.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Setup basic logging for all ubermag packages."""

import logging


Expand Down
1 change: 1 addition & 0 deletions ubermagutil/tools.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Additional tools."""

import contextlib
import os

Expand Down
1 change: 1 addition & 0 deletions ubermagutil/typesystem/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Typesystem utility."""

from .descriptors import (
Descriptor,
Dictionary,
Expand Down
1 change: 1 addition & 0 deletions ubermagutil/units/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""SI multiplier utility."""

from .units import rsi_prefixes, si_max_multiplier, si_multiplier, si_prefixes
1 change: 1 addition & 0 deletions ubermagutil/units/units.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""SI multiplier utility."""

import collections

si_prefixes = collections.OrderedDict(
Expand Down