Skip to content

Commit

Permalink
Bump flake8 from 6.0.0 to 6.1.0 in /streampipes-client-python (#1804)
Browse files Browse the repository at this point in the history
* Bump flake8 from 6.0.0 to 6.1.0 in /streampipes-client-python

Bumps [flake8](https://github.com/pycqa/flake8) from 6.0.0 to 6.1.0.
- [Commits](PyCQA/flake8@6.0.0...6.1.0)

---
updated-dependencies:
- dependency-name: flake8
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: use `isinstance()` instead of type comparison

Signed-off-by: bossenti <bossenti@posteo.de>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: bossenti <bossenti@posteo.de>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: bossenti <bossenti@posteo.de>
  • Loading branch information
dependabot[bot] and bossenti committed Aug 1, 2023
1 parent 71e39ce commit 4c11c4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion streampipes-client-python/setup.py
Expand Up @@ -50,7 +50,7 @@
"autoflake==2.2.0",
"black==23.7.0",
"blacken-docs==1.15.0",
"flake8==6.0.0",
"flake8==6.1.0",
"interrogate[png]==1.5.0",
"isort==5.12.0",
"mypy==1.4.0",
Expand Down
Expand Up @@ -181,7 +181,7 @@ def from_json(cls, json_string: str) -> ResourceContainer:

# the ResourceContainer expects a list of items
# raise an exception if the response does not be a list
if not type(parsed_json) == list:
if not isinstance(parsed_json, list):
raise StreamPipesResourceContainerJSONError(container_name=str(cls), json_string=json_string)

try:
Expand Down

0 comments on commit 4c11c4d

Please sign in to comment.