Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ ignore = [
"COM812", # trailing comma, handled by black
"PLR2004", # Magic value used in comparison
"PLR0913", # Too many arguments to function call
"PLR0917", # Too many positional arguments; existing public and test signatures
"PLR0912", # too many branches
"PLR0911", # Too many return statements
"PLR0915", # too many statements
Expand All @@ -137,6 +138,8 @@ ignore = [
"PT013", # Found incorrect import of pytest, use simple `import pytest` instead
"B905", # `zip()` without an explicit `strict=` parameter
"SIM115", # Use a context manager for file operations, TODO: figure out if the warnings are justified
"PLW0108", # Lambda may be unnecessary; the suggested rewrite can change runtime behavior
"RUF036", # None not at the end of a type union; existing annotations
]
exclude = [
"yellowbox/extras/websocket.py",
Expand Down
2 changes: 1 addition & 1 deletion yellowbox/extras/kafka.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def __init__(
detach=True,
environment={
"KAFKA_CFG_ADVERTISED_LISTENERS": f"INNER://{self.static_broker_alias}:{self.inner_port},"
f"OUTER://localhost:{self.outer_port}",
f"OUTER://127.0.0.1:{self.outer_port}",
"KAFKA_CFG_ZOOKEEPER_CONNECT": "zk/2181",
"ALLOW_PLAINTEXT_LISTENER": "yes",
"KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP": "INNER:PLAINTEXT,OUTER:PLAINTEXT",
Expand Down
Loading