Skip to content

Commit d987aa2

Browse files
ci: pre-commit autoupdate (#216)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@23.12.1...24.1.1) - [github.com/PyCQA/flake8: 6.1.0 → 7.0.0](PyCQA/flake8@6.1.0...7.0.0) - [github.com/python-jsonschema/check-jsonschema: 0.27.3 → 0.27.4](python-jsonschema/check-jsonschema@0.27.3...0.27.4) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent ccb5079 commit d987aa2

9 files changed

+10
-4
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22

33
- repo: https://github.com/psf/black
4-
rev: 23.12.1
4+
rev: 24.1.1
55
hooks:
66
- id: black
77

@@ -17,7 +17,7 @@ repos:
1717
- id: isort
1818

1919
- repo: https://github.com/PyCQA/flake8
20-
rev: 6.1.0
20+
rev: 7.0.0
2121
hooks:
2222
- id: flake8
2323

@@ -42,6 +42,6 @@ repos:
4242

4343
# this validates our github workflow files
4444
- repo: https://github.com/python-jsonschema/check-jsonschema
45-
rev: 0.27.3
45+
rev: 0.27.4
4646
hooks:
4747
- id: check-github-workflows

doc/source/conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Sphinx documentation configuration file."""
2+
23
from datetime import datetime
34
import os
45

src/ansys/units/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Pyunits is a pythonic interface for units, unit systems, and unit conversions."""
22

3-
43
try:
54
import importlib.metadata as importlib_metadata
65
except ModuleNotFoundError:

src/ansys/units/_constants.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Provides ``QuantityType`` class."""
2+
23
import os
34

45
import yaml

src/ansys/units/base_dimensions.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Provides the ``BaseDimensions`` class."""
2+
23
from enum import Enum
34

45

src/ansys/units/dimensions.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Provides the ``Dimensions`` class."""
2+
23
from __future__ import annotations
34

45
from typing import Union

src/ansys/units/quantity.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Provides the ``Quantity`` class."""
2+
23
from __future__ import annotations
34

45
import operator

src/ansys/units/systems.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Provides the ``UnitSystem`` class."""
2+
23
from __future__ import annotations
34

45
from ansys.units import BaseDimensions, _base_units, _unit_systems

src/ansys/units/unit_registry.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Provides the ``UnitRegistry`` class."""
2+
23
import os
34

45
import yaml

0 commit comments

Comments
 (0)