mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 20:09:22 +00:00
Make ruff_cli
binary a small wrapper around lib
(#3398)
This commit is contained in:
parent
d9dfec30eb
commit
a3de791f0a
9 changed files with 457 additions and 453 deletions
|
@ -1,10 +1,9 @@
|
|||
use crate::ExitStatus;
|
||||
use ruff::settings::{
|
||||
options::Options,
|
||||
options_base::{ConfigurationOptions, OptionEntry, OptionField},
|
||||
};
|
||||
|
||||
use crate::ExitStatus;
|
||||
|
||||
#[allow(clippy::print_stdout)]
|
||||
pub(crate) fn config(key: Option<&str>) -> ExitStatus {
|
||||
let Some(entry) = Options::get(key) else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue