Skip to content

Commit ba2ac28

Browse files
update versioneer for 3.12 compatibility (#618)
* update versioneer for 3.12 compatibility * Update to modern versioneer import * Update pre-commit --------- Co-authored-by: Jacob Tomlinson <[email protected]>
1 parent 3e5a915 commit ba2ac28

File tree

4 files changed

+1036
-429
lines changed

4 files changed

+1036
-429
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 22.3.0
3+
rev: 24.2.0
44
hooks:
55
- id: black
66
language_version: python3
7-
- repo: https://gitlab.com/pycqa/flake8
8-
rev: 3.9.2
7+
- repo: https://github.com/pycqa/flake8
8+
rev: 7.0.0
99
hooks:
1010
- id: flake8
1111
types: [file, python]

dask_jobqueue/__init__.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from .oar import OARCluster
1010
from .htcondor import HTCondorCluster
1111

12-
from ._version import get_versions
12+
from . import _version
1313

14-
__version__ = get_versions()["version"]
15-
del get_versions
14+
__version__ = _version.get_versions()["version"]

0 commit comments

Comments
 (0)