mirror of
https://github.com/openai/codex.git
synced 2026-09-20 12:47:38 +00:00
19 lines
1.1 KiB
TOML
19 lines
1.1 KiB
TOML
allow-expect-in-tests = true
|
|
allow-unwrap-in-tests = true
|
|
await-holding-invalid-types = [
|
|
"tokio::sync::MutexGuard",
|
|
"tokio::sync::RwLockReadGuard",
|
|
"tokio::sync::RwLockWriteGuard",
|
|
]
|
|
disallowed-methods = [
|
|
{ path = "ratatui::style::Color::Rgb", reason = "Use ANSI colors, which work better in various terminal themes." },
|
|
{ path = "ratatui::style::Color::Indexed", reason = "Use ANSI colors, which work better in various terminal themes." },
|
|
{ path = "ratatui::style::Stylize::white", reason = "Avoid hardcoding white; prefer default fg or dim/bold. Exception: Disable this rule if rendering over a hardcoded ANSI background." },
|
|
{ path = "ratatui::style::Stylize::black", reason = "Avoid hardcoding black; prefer default fg or dim/bold. Exception: Disable this rule if rendering over a hardcoded ANSI background." },
|
|
{ path = "ratatui::style::Stylize::yellow", reason = "Avoid yellow; prefer other colors in `tui/styles.md`." },
|
|
]
|
|
|
|
# Increase the size threshold for result_large_err to accommodate
|
|
# richer error variants.
|
|
large-error-threshold = 256
|