Skip to content

Commit

Permalink
chore: minor tweaks to settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Oct 26, 2024
1 parent b2a95a4 commit b4e2413
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions schema/mise.json
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@
},
"python_venv_stdlib": {
"description": "Prefer to use venv from Python's standard library.",
"deprecated": "Use python.venv_stdlib instead.",
"type": "boolean"
},
"quiet": {
Expand Down
1 change: 1 addition & 0 deletions settings.toml
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ description = "Automatically create virtualenvs for python tools."
type = "Bool"
optional = true
description = "Prefer to use venv from Python's standard library."
deprecated = "Use python.venv_stdlib instead."
hide = true

[quiet]
Expand Down
2 changes: 1 addition & 1 deletion src/config/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ static BASE_SETTINGS: RwLock<Option<Arc<Settings>>> = RwLock::new(None);
static CLI_SETTINGS: Mutex<Option<SettingsPartial>> = Mutex::new(None);
static DEFAULT_SETTINGS: Lazy<SettingsPartial> = Lazy::new(|| {
let mut s = SettingsPartial::empty();
s.python_default_packages_file = Some(env::HOME.join(".default-python-packages"));
s.python.default_packages_file = Some(env::HOME.join(".default-python-packages"));
if let Some("alpine" | "nixos") = env::LINUX_DISTRO.as_ref().map(|s| s.as_str()) {
if !cfg!(test) {
s.all_compile = Some(true);
Expand Down

0 comments on commit b4e2413

Please sign in to comment.