Skip to content

Commit

Permalink
chore(deps): bump the pip group with 6 updates (#2036)
Browse files Browse the repository at this point in the history
* chore(deps): bump the pip group with 6 updates

Bumps the pip group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [ruff](https://github.com/astral-sh/ruff) | `0.8.6` | `0.9.1` |
| [bandit](https://github.com/PyCQA/bandit) | `1.8.0` | `1.8.2` |
| [semgrep](https://github.com/returntocorp/semgrep) | `1.101.0` | `1.102.0` |
| [coverage[toml]](https://github.com/nedbat/coveragepy) | `7.6.1` | `7.6.10` |
| [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) | `0.24.0` | `0.25.2` |
| [dirty-equals](https://github.com/samuelcolvin/dirty-equals) | `0.8.0` | `0.9.0` |


Updates `ruff` from 0.8.6 to 0.9.1
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.8.6...0.9.1)

Updates `bandit` from 1.8.0 to 1.8.2
- [Release notes](https://github.com/PyCQA/bandit/releases)
- [Commits](PyCQA/bandit@1.8.0...1.8.2)

Updates `semgrep` from 1.101.0 to 1.102.0
- [Release notes](https://github.com/returntocorp/semgrep/releases)
- [Changelog](https://github.com/semgrep/semgrep/blob/develop/CHANGELOG.md)
- [Commits](semgrep/semgrep@v1.101.0...v1.102.0)

Updates `coverage[toml]` from 7.6.1 to 7.6.10
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@7.6.1...7.6.10)

Updates `pytest-asyncio` from 0.24.0 to 0.25.2
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](pytest-dev/pytest-asyncio@v0.24.0...v0.25.2)

Updates `dirty-equals` from 0.8.0 to 0.9.0
- [Release notes](https://github.com/samuelcolvin/dirty-equals/releases)
- [Commits](samuelcolvin/dirty-equals@v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip
- dependency-name: bandit
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pip
- dependency-name: semgrep
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip
- dependency-name: coverage[toml]
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pip
- dependency-name: pytest-asyncio
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip
- dependency-name: dirty-equals
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip
...

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

* docs: generate API References

* Update pyproject.toml

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pastukhov Nikita <[email protected]>
  • Loading branch information
dependabot[bot] and Lancetnik authored Jan 14, 2025
1 parent dfd7b9a commit 6b3e680
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion faststream/confluent/subscriber/asyncapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AsyncAPISubscriber(LogicSubscriber[MsgType]):
"""A class to handle logic and async API operations."""

def get_name(self) -> str:
return f'{",".join(self.topics)}:{self.call_name}'
return f"{','.join(self.topics)}:{self.call_name}"

def get_schema(self) -> Dict[str, Channel]:
channels = {}
Expand Down
2 changes: 1 addition & 1 deletion faststream/kafka/subscriber/asyncapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class AsyncAPISubscriber(LogicSubscriber[MsgType]):
"""A class to handle logic and async API operations."""

def get_name(self) -> str:
return f'{",".join(self.topics)}:{self.call_name}'
return f"{','.join(self.topics)}:{self.call_name}"

def get_schema(self) -> Dict[str, Channel]:
channels = {}
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,19 +121,19 @@ types = [

lint = [
"faststream[types]",
"ruff==0.8.6",
"bandit==1.8.0",
"semgrep==1.101.0",
"ruff==0.9.1",
"bandit==1.8.2",
"semgrep==1.102.0",
"codespell==2.3.0",
]

test-core = [
"coverage[toml]==7.6.10; python_version >= '3.9'",
"coverage[toml]==7.6.1; python_version == '3.8'",
"pytest==8.3.4",
"pytest-asyncio==0.25.1; python_version >= '3.9'",
"pytest-asyncio==0.25.2; python_version >= '3.9'",
"pytest-asyncio==0.24.0; python_version == '3.8'",
"dirty-equals==0.8.0",
"dirty-equals==0.9.0",
"typing-extensions>=4.8.0,<4.12.1; python_version < '3.9'", # to fix dirty-equals
]

Expand Down
6 changes: 3 additions & 3 deletions tests/opentelemetry/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ def assert_span(
]

if action == Action.PROCESS:
assert attrs[SpanAttr.MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES] == len(
msg
), attrs[SpanAttr.MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES]
assert attrs[SpanAttr.MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES] == len(msg), (
attrs[SpanAttr.MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES]
)
assert attrs[SpanAttr.MESSAGING_OPERATION] == action, attrs[
SpanAttr.MESSAGING_OPERATION
]
Expand Down

0 comments on commit 6b3e680

Please sign in to comment.