Skip to content

Commit 3f34e66

Browse files
Autoupdate pre-commit hooks (#41)
* Autoupdate pre-commit hooks * [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 0701609 commit 3f34e66

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 23.12.1
3+
rev: 26.5.1
44
hooks:
55
- id: black
66
name: black
@@ -13,7 +13,7 @@ repos:
1313
types_or: [python, pyi]
1414

1515
- repo: https://github.com/pycqa/flake8
16-
rev: 7.0.0
16+
rev: 7.4.1
1717
hooks:
1818
- id: flake8
1919
additional_dependencies:
@@ -23,18 +23,18 @@ repos:
2323
args: [--max-line-length=88]
2424

2525
- repo: https://github.com/asottile/pyupgrade
26-
rev: v3.15.0
26+
rev: v3.21.2
2727
hooks:
2828
- id: pyupgrade
2929
args: [--py310-plus]
3030

3131
- repo: https://github.com/pycqa/isort
32-
rev: 5.13.2
32+
rev: 9.0.1
3333
hooks:
3434
- id: isort
3535

3636
- repo: https://github.com/pre-commit/pre-commit-hooks
37-
rev: v4.5.0
37+
rev: v6.0.0
3838
hooks:
3939
- id: check-builtin-literals
4040
- id: check-added-large-files
@@ -56,7 +56,7 @@ repos:
5656
)
5757
5858
- repo: https://github.com/pre-commit/mirrors-mypy
59-
rev: v1.8.0
59+
rev: v2.3.1
6060
hooks:
6161
- id: mypy
6262
language_version: python3.12

‎heat/heat.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""The 2D heat model."""
2+
23
from __future__ import annotations
34

45
from io import TextIOBase
@@ -64,7 +65,6 @@ def solve_2d(
6465

6566

6667
class Heat:
67-
6868
"""Solve the Heat equation on a grid.
6969
7070
Examples

0 commit comments

Comments
 (0)