Skip to content

Commit 9cc7782

Browse files
authored
Merge pull request #5173 from chu11/vermin_version_update
pre-commit: increase vermin version
2 parents 5b0897b + 3b9b6e3 commit 9cc7782

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repos:
3939
types: [python]
4040
entry: ./scripts/run_mypy.sh
4141
- repo: https://github.com/netromdk/vermin
42-
rev: v1.4.2
42+
rev: v1.5.1
4343
hooks:
4444
- id: vermin
4545
args: ['-t=3.6-', '--violations']

src/bindings/python/flux/util.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@
3030

3131
import yaml
3232

33+
# tomllib added to standard library in Python 3.11
34+
# flux-core minimum is Python 3.6.
3335
try:
34-
import tomllib
36+
import tomllib # novermin
3537
except ModuleNotFoundError:
3638
from flux.utils import tomli as tomllib
3739

0 commit comments

Comments
 (0)