Skip to content

Commit 6474b79

Browse files
chore(deps-dev): bump the development-dependencies group with 6 updates (#2883)
* chore(deps-dev): bump the development-dependencies group with 6 updates Bumps the development-dependencies group with 6 updates: | Package | From | To | | --- | --- | --- | | [boto3-stubs](https://github.com/youtype/mypy_boto3_builder) | `1.34.131` | `1.34.136` | | [mypy](https://github.com/python/mypy) | `1.10.0` | `1.10.1` | | [ruff](https://github.com/astral-sh/ruff) | `0.4.10` | `0.5.0` | | [moto](https://github.com/getmoto/moto) | `5.0.9` | `5.0.10` | | [bump-my-version](https://github.com/callowayproject/bump-my-version) | `0.23.0` | `0.24.1` | | [jupyterlab](https://github.com/jupyterlab/jupyterlab) | `4.2.2` | `4.2.3` | Updates `boto3-stubs` from 1.34.131 to 1.34.136 - [Release notes](https://github.com/youtype/mypy_boto3_builder/releases) - [Commits](https://github.com/youtype/mypy_boto3_builder/commits) Updates `mypy` from 1.10.0 to 1.10.1 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.10.0...v1.10.1) Updates `ruff` from 0.4.10 to 0.5.0 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@v0.4.10...0.5.0) Updates `moto` from 5.0.9 to 5.0.10 - [Release notes](https://github.com/getmoto/moto/releases) - [Changelog](https://github.com/getmoto/moto/blob/master/CHANGELOG.md) - [Commits](getmoto/moto@5.0.9...5.0.10) Updates `bump-my-version` from 0.23.0 to 0.24.1 - [Release notes](https://github.com/callowayproject/bump-my-version/releases) - [Changelog](https://github.com/callowayproject/bump-my-version/blob/master/CHANGELOG.md) - [Commits](callowayproject/bump-my-version@0.23.0...0.24.1) Updates `jupyterlab` from 4.2.2 to 4.2.3 - [Release notes](https://github.com/jupyterlab/jupyterlab/releases) - [Changelog](https://github.com/jupyterlab/jupyterlab/blob/@jupyterlab/[email protected]/CHANGELOG.md) - [Commits](https://github.com/jupyterlab/jupyterlab/compare/@jupyterlab/[email protected]...@jupyterlab/[email protected]) --- updated-dependencies: - dependency-name: boto3-stubs dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: moto dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: bump-my-version dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: jupyterlab dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies ... Signed-off-by: dependabot[bot] <[email protected]>
1 parent c8b7429 commit 6474b79

File tree

4 files changed

+80
-79
lines changed

4 files changed

+80
-79
lines changed

awswrangler/neptune/_neptune.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -635,10 +635,10 @@ def flatten_nested_df(
635635
df = df.reset_index()
636636

637637
# search for list and map
638-
s = (df.applymap(type) == list).all()
638+
s = (df.applymap(type) == list).all() # noqa: E721
639639
list_columns = s[s].index.tolist()
640640

641-
s = (df.applymap(type) == dict).all()
641+
s = (df.applymap(type) == dict).all() # noqa: E721
642642
dict_columns = s[s].index.tolist()
643643

644644
if len(list_columns) > 0 or len(dict_columns) > 0:
@@ -660,10 +660,10 @@ def flatten_nested_df(
660660
new_columns.append(col)
661661

662662
# check if there are still dict o list fields to flatten
663-
s = (df[new_columns].applymap(type) == list).all()
663+
s = (df[new_columns].applymap(type) == list).all() # noqa: E721
664664
list_columns = s[s].index.tolist()
665665

666-
s = (df[new_columns].applymap(type) == dict).all()
666+
s = (df[new_columns].applymap(type) == dict).all() # noqa: E721
667667
dict_columns = s[s].index.tolist()
668668
if recursive and (len(list_columns) > 0 or len(dict_columns) > 0):
669669
df = flatten_nested_df(df, include_prefix=include_prefix, separator=separator, recursive=recursive)

0 commit comments

Comments
 (0)