We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b0897b + 3b9b6e3 commit 9cc7782Copy full SHA for 9cc7782
.pre-commit-config.yaml
@@ -39,7 +39,7 @@ repos:
39
types: [python]
40
entry: ./scripts/run_mypy.sh
41
- repo: https://github.com/netromdk/vermin
42
- rev: v1.4.2
+ rev: v1.5.1
43
hooks:
44
- id: vermin
45
args: ['-t=3.6-', '--violations']
src/bindings/python/flux/util.py
@@ -30,8 +30,10 @@
30
31
import yaml
32
33
+# tomllib added to standard library in Python 3.11
34
+# flux-core minimum is Python 3.6.
35
try:
- import tomllib
36
+ import tomllib # novermin
37
except ModuleNotFoundError:
38
from flux.utils import tomli as tomllib
0 commit comments