Skip to content

CP01 — Keywords should be upper case

Group: Capitalisation · Auto-fixable: yes

Upper-casing keywords visually separates SQL structure from identifiers and literals. This rule is auto-fixable: run banshee fix to apply. Set policy = "lower" to require lower case instead (default upper).

bad: select id from patient
good: SELECT id FROM patient

Disable this rule in banshee.toml:

[lint]
exclude = ["CP01"]

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