Skip to content

Commit e8de93a

Browse files
committed
Changed: Upgrade package versions in pre-commit hook
1 parent 50975bc commit e8de93a

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ repos:
1111
- id: requirements-txt-fixer
1212
- id: trailing-whitespace
1313
- repo: https://github.com/pycqa/isort
14-
rev: 5.12.0
14+
rev: 5.13.2
1515
hooks:
1616
- id: isort
1717
name: isort (python)
1818
- repo: https://github.com/psf/black
19-
rev: 22.10.0
19+
rev: 24.1.0
2020
hooks:
2121
- id: black
2222
- repo: https://github.com/PyCQA/flake8

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
### Changed
1313
- Misc: Update SEO image.
1414
- Misc: Fix Sphinx documentation font size difference between web and mobile, include last updated date.
15+
- Misc: Upgrade package versions in pre-commit hook.
1516
### Fixed
1617
- Tree Exporter: `hprint_tree` and `hyield_tree` to be compatible with `BinaryNode` where child nodes can be None type.
1718

bigtree/tree/construct.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,9 +1068,11 @@ def _create_node(
10681068
elif _cumulative_string:
10691069
_new_node.set_attrs(
10701070
{
1071-
length_attr: int(_cumulative_string)
1072-
if _cumulative_string.isdigit()
1073-
else float(_cumulative_string)
1071+
length_attr: (
1072+
int(_cumulative_string)
1073+
if _cumulative_string.isdigit()
1074+
else float(_cumulative_string)
1075+
)
10741076
}
10751077
)
10761078

0 commit comments

Comments
 (0)