Skip to content

CV01 — Use <> instead of != for inequality

Group: Convention · Auto-fixable: yes

Both <> and != mean inequality in Postgres; <> is the SQL standard spelling. This rule rewrites != to <> for consistency.

Disable this rule in banshee.toml:

[lint]
exclude = ["CV01"]

Or silence one line with -- noqa: CV01. See Linting.