Skip to content

Commit 3d4c8f3

Browse files
authored
Merge pull request #1274 from calad0i/pre-commit-update
pyupgrade target version update
2 parents 3c188a8 + f28bd1d commit 3d4c8f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ repos:
3838
rev: v3.19.1
3939
hooks:
4040
- id: pyupgrade
41-
args: ["--py36-plus"]
41+
args: ["--py310-plus"]
4242

4343
- repo: https://github.com/pycqa/flake8
4444
rev: 7.2.0

hls4ml/model/optimizer/passes/infer_precision.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import math
2-
from typing import Iterable
2+
from collections.abc import Iterable
33

44
import numpy as np
55

0 commit comments

Comments
 (0)