In Chill mode, Ruff uses a focused set of rule codes including Pyflakes (F), flake8-bugbear (B), flake8-bandit (S), and other essential checks.In Assertive mode, Ruff additionally enables:
ANN - flake8-annotations (type annotations)
ASYNC - flake8-async (async/await issues)
FBT - flake8-boolean-trap
C4 - flake8-comprehensions
DTZ - flake8-datetimez (timezone issues)
DJ - flake8-django
ISC - flake8-implicit-str-concat
LOG - flake8-logging
G - flake8-logging-format
PIE - flake8-pie
PT - flake8-pytest-style
FLY - flynt (f-string opportunities)
UP - pyupgrade (upgrade opportunities)
Additionally, in Assertive mode, S101 (use of assert) is ignored in test files.