useless-semicolon: `ruff check --select=E703 --fix` by cclauss · Pull Request #769 · mavlink/MAVSDK-Python

% ruff check --select=E703 --fix

Found 18 errors (18 fixed, 0 remaining).

% ruff rule E703

useless-semicolon (E703)

Derived from the pycodestyle linter.

Fix is always available.

What it does

Checks for statements that end with an unnecessary semicolon.

Why is this bad?

A trailing semicolon is unnecessary and should be removed.

Example

do_four();  # useless semicolon

Use instead:

do_four()