MCPcopy Create free account
hub / github.com/astral-sh/ruff / target_version

Method target_version

crates/ruff_python_formatter/src/options.rs:119–121  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

117 }
118
119 pub const fn target_version(&self) -> ast::PythonVersion {
120 self.target_version
121 }
122
123 pub const fn magic_trailing_comma(&self) -> MagicTrailingComma {
124 self.magic_trailing_comma

Callers 5

from_statementMethod · 0.45
preferred_quote_styleMethod · 0.45
merge_flagsMethod · 0.45
fmtMethod · 0.45
ensure_unchanged_astFunction · 0.45

Calls

no outgoing calls

Tested by 1

ensure_unchanged_astFunction · 0.36