Skip to content

Commit

Permalink
Build(deps): Bump the python-packages group with 6 updates (#944)
Browse files Browse the repository at this point in the history
* Build(deps): Bump the python-packages group with 6 updates

Bumps the python-packages group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [psutil](https://github.com/giampaolo/psutil) | `5.9.5` | `5.9.6` |
| [pylint](https://github.com/pylint-dev/pylint) | `2.17.7` | `3.0.2` |
| [autohooks-plugin-pylint](https://github.com/greenbone/autohooks-plugin-pylint) | `23.4.0` | `23.10.0` |
| [autohooks-plugin-black](https://github.com/greenbone/autohooks-plugin-black) | `23.7.0` | `23.10.0` |
| [pontos](https://github.com/greenbone/pontos) | `23.9.2` | `23.10.3` |
| [black](https://github.com/psf/black) | `23.9.1` | `23.10.0` |


Updates `psutil` from 5.9.5 to 5.9.6
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst)
- [Commits](giampaolo/psutil@release-5.9.5...release-5.9.6)

Updates `pylint` from 2.17.7 to 3.0.2
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v2.17.7...v3.0.2)

Updates `autohooks-plugin-pylint` from 23.4.0 to 23.10.0
- [Release notes](https://github.com/greenbone/autohooks-plugin-pylint/releases)
- [Commits](greenbone/autohooks-plugin-pylint@v23.4.0...v23.10.0)

Updates `autohooks-plugin-black` from 23.7.0 to 23.10.0
- [Release notes](https://github.com/greenbone/autohooks-plugin-black/releases)
- [Commits](greenbone/autohooks-plugin-black@v23.7.0...v23.10.0)

Updates `pontos` from 23.9.2 to 23.10.3
- [Release notes](https://github.com/greenbone/pontos/releases)
- [Commits](greenbone/pontos@v23.9.2...v23.10.3)

Updates `black` from 23.9.1 to 23.10.0
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@23.9.1...23.10.0)

---
updated-dependencies:
- dependency-name: psutil
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: pylint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: python-packages
- dependency-name: autohooks-plugin-pylint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: autohooks-plugin-black
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: pontos
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix: issue reported by pylint

ospd/server.py:67:20: W0134: 'return' shadowed by the 'finally' clause. (return-in-finally)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Juan Jose Nicola <[email protected]>
  • Loading branch information
dependabot[bot] and jjnicola authored Oct 24, 2023
1 parent 536e917 commit cdd05f9
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 115 deletions.
4 changes: 2 additions & 2 deletions ospd/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def write(self, data: bytes) -> bool:
except (socket.error, BrokenPipeError) as e:
logger.error("Error sending data to the client. %s", e)
ret_success = False
finally:
return ret_success # pylint: disable=lost-exception

return ret_success

try:
b_sent = self.socket.send(data[b_start:b_end])
Expand Down
Loading

0 comments on commit cdd05f9

Please sign in to comment.