Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ repos:
types: [python]
entry: ./scripts/run_mypy.sh
- repo: https://github.com/netromdk/vermin
rev: v1.4.2
rev: v1.5.1
hooks:
- id: vermin
args: ['-t=3.6-', '--violations']
4 changes: 3 additions & 1 deletion src/bindings/python/flux/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@

import yaml

# tomllib added to standard library in Python 3.11
# flux-core minimum is Python 3.6.
try:
import tomllib
import tomllib # novermin
except ModuleNotFoundError:
from flux.utils import tomli as tomllib

Expand Down