> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sifr.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# SIFR-LINT-0006: Call passes a boolean literal positionally.

> Call passes a boolean literal positionally.

`SIFR-LINT-0006` belongs to the **Policy linting** diagnostic family. It means: call passes a boolean literal positionally.

## Why It Happens

A suppressible policy rule fired, or a suppression itself is malformed. Fix the policy issue or make the suppression exact and local.

<Info>
  Use `sifr --explain SIFR-LINT-0006` locally to see the renderer's exact message template and any machine-applicable suggestions for the compiler version you are running.
</Info>

## Erroneous Code

```python theme={null}
# sifr: ignore
def f(flag: bool):
    pass

f(True)
```

## How To Fix It

Fix the policy issue when possible. If suppression is intentional, list the exact policy rule id and keep it local.

## Fixed Code

```python theme={null}
# sifr: ignore SIFR-LINT-0006
def f(flag: bool):
    pass

f(flag=True)
```

## Details

| Field                  | Value                                                                                                             |
| ---------------------- | ----------------------------------------------------------------------------------------------------------------- |
| Code                   | `SIFR-LINT-0006`                                                                                                  |
| Family                 | `LINT`                                                                                                            |
| Severity               | Warning                                                                                                           |
| Stability              | stable                                                                                                            |
| Owner                  | `sifr_lint::rules::boolean_positional_argument`                                                                   |
| Representative fixture | `crates/sifr_lint/src/rules/boolean_positional_argument.rs::boolean_positional_argument_reports_literal_call_arg` |

See the [Error Codes index](/diagnostics/error-codes) for the complete catalog.
