mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-29 07:53:52 +00:00

## Summary Renaming functions, adding documentation, refactoring the test infrastructure a bit.
18 lines
606 B
Rust
18 lines
606 B
Rust
use std::path::PathBuf;
|
|
|
|
pub(crate) struct Config {
|
|
/// Path to use for typeshed definitions.
|
|
pub(crate) typeshed_path: Option<PathBuf>,
|
|
|
|
/// Path to custom typings (stub) modules.
|
|
pub(crate) stub_path: Option<PathBuf>,
|
|
|
|
/// Path to a directory containing one or more virtual environment
|
|
/// directories. This is used in conjunction with the "venv" name in
|
|
/// the config file to identify the python environment used for resolving
|
|
/// third-party modules.
|
|
pub(crate) venv_path: Option<PathBuf>,
|
|
|
|
/// Default venv environment.
|
|
pub(crate) venv: Option<PathBuf>,
|
|
}
|