mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 02:38:10 +02:00
Enable Ruff RET504 (#114528)
* Enable Ruff RET504 * fix test * Use noqa instead of cast * fix sonos RET504 --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
@ -18,9 +18,7 @@ def get_arguments() -> argparse.Namespace:
|
||||
"integration", type=valid_integration, help="Integration to target."
|
||||
)
|
||||
|
||||
arguments = parser.parse_args()
|
||||
|
||||
return arguments
|
||||
return parser.parse_args()
|
||||
|
||||
|
||||
def main() -> int | None:
|
||||
|
Reference in New Issue
Block a user