mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-19 02:55:20 +00:00
Move Configuration
to ruff_workspace
crate (#6920)
This commit is contained in:
parent
039694aaed
commit
a6aa16630d
77 changed files with 3704 additions and 4108 deletions
15
crates/ruff_workspace/src/lib.rs
Normal file
15
crates/ruff_workspace/src/lib.rs
Normal file
|
@ -0,0 +1,15 @@
|
|||
pub mod configuration;
|
||||
pub mod options;
|
||||
pub mod pyproject;
|
||||
pub mod resolver;
|
||||
|
||||
pub mod options_base;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::path::Path;
|
||||
|
||||
pub(crate) fn test_resource_path(path: impl AsRef<Path>) -> std::path::PathBuf {
|
||||
Path::new("../ruff/resources/test/").join(path)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue