mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 21:05:08 +00:00
Add Python version support to ruff analyze CLI (#13426)
This commit is contained in:
parent
2823487bf8
commit
ff11db61b4
7 changed files with 30 additions and 6 deletions
|
@ -217,6 +217,7 @@ impl Configuration {
|
|||
let analyze = AnalyzeSettings {
|
||||
exclude: FilePatternSet::try_from_iter(analyze.exclude.unwrap_or_default())?,
|
||||
preview: analyze_preview,
|
||||
target_version,
|
||||
extension: self.extension.clone().unwrap_or_default(),
|
||||
detect_string_imports: analyze
|
||||
.detect_string_imports
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue