Skip to content

Commit d3c5125

Browse files
authored
chore: bump versions, mostly UHI (#541)
1 parent d853256 commit d3c5125

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ repos:
4646
additional_dependencies: [pyyaml]
4747

4848
- repo: https://github.com/asottile/pyupgrade
49-
rev: v2.10.1
49+
rev: v2.11.0
5050
hooks:
5151
- id: pyupgrade
5252
args: [--py36-plus]
5353

5454
- repo: https://github.com/PyCQA/isort
55-
rev: 5.7.0
55+
rev: 5.8.0
5656
hooks:
5757
- id: isort
5858

@@ -73,7 +73,7 @@ repos:
7373
hooks:
7474
- id: mypy
7575
files: src
76-
additional_dependencies: [numpy==1.20.1, uhi==0.1.2]
76+
additional_dependencies: [numpy==1.20.1, uhi==0.2.1]
7777

7878
- repo: https://github.com/mgedmin/check-manifest
7979
rev: "0.46"

src/boost_histogram/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
raise
1313

1414
new_msg = "Did you forget to compile boost-histogram? Use CMake or Setuptools to build, see the readme."
15-
total_msg = "\n".join([msg, new_msg])
15+
total_msg = f"{msg}\n{new_msg}"
1616

1717
new_exception = type(err)(new_msg, name=err.name, path=err.path)
1818
raise new_exception from err

0 commit comments

Comments
 (0)