Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_statement
Method · 0.45
preferred_quote_style
Method · 0.45
merge_flags
Method · 0.45
fmt
Method · 0.45
ensure_unchanged_ast
Function · 0.45
Calls
no outgoing calls
Tested by
1
ensure_unchanged_ast
Function · 0.36