diff --git a/crates/rattler/src/install/installer/indicatif.rs b/crates/rattler/src/install/installer/indicatif.rs index 23193a5e6..2fc5726de 100644 --- a/crates/rattler/src/install/installer/indicatif.rs +++ b/crates/rattler/src/install/installer/indicatif.rs @@ -61,7 +61,7 @@ pub enum ProgressTrack { Linking, } -/// Defines the currect status of a progress bar. +/// Defines the correct status of a progress bar. #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum ProgressStatus { /// The progress bar is visible but has not started yet. diff --git a/crates/rattler/src/install/mod.rs b/crates/rattler/src/install/mod.rs index 76ea48f53..d4ac33122 100644 --- a/crates/rattler/src/install/mod.rs +++ b/crates/rattler/src/install/mod.rs @@ -228,7 +228,7 @@ pub struct InstallOptions { /// For binaries on macOS ARM64 (Apple Silicon), binaries need to be signed /// with an ad-hoc certificate to properly work. This field controls - /// wether or not to do that. Code signing is only executed when the + /// whether or not to do that. Code signing is only executed when the /// target platform is macOS ARM64. By default, codesigning will fail /// the installation if it fails. This behavior can be changed by setting /// this field to `AppleCodeSignBehavior::Ignore` or diff --git a/crates/rattler_shell/src/shell/mod.rs b/crates/rattler_shell/src/shell/mod.rs index 0c722d2cf..4d5e13580 100644 --- a/crates/rattler_shell/src/shell/mod.rs +++ b/crates/rattler_shell/src/shell/mod.rs @@ -164,7 +164,7 @@ pub trait Shell { } } -/// Convert a native PATH on Windows to a Unix style path usign cygpath. +/// Convert a native PATH on Windows to a Unix style path using cygpath. fn native_path_to_unix(path: &str) -> Result { // call cygpath on Windows to convert paths to Unix style let output = Command::new("cygpath") diff --git a/crates/rattler_solve/src/libsolv_c/libc_byte_slice.rs b/crates/rattler_solve/src/libsolv_c/libc_byte_slice.rs index ffe477d27..40957d785 100644 --- a/crates/rattler_solve/src/libsolv_c/libc_byte_slice.rs +++ b/crates/rattler_solve/src/libsolv_c/libc_byte_slice.rs @@ -9,10 +9,10 @@ pub struct LibcByteSlice { len: usize, } -// We can safely implemenet `Send` because LibcByteSlice is immutable +// We can safely implement `Send` because LibcByteSlice is immutable unsafe impl Send for LibcByteSlice {} -// We can safely implemenet `Send` because LibcByteSlice is immutable +// We can safely implement `Send` because LibcByteSlice is immutable unsafe impl Sync for LibcByteSlice {} impl LibcByteSlice { diff --git a/py-rattler/rattler/install/installer.py b/py-rattler/rattler/install/installer.py index 78a3f1199..6821fd71b 100644 --- a/py-rattler/rattler/install/installer.py +++ b/py-rattler/rattler/install/installer.py @@ -64,7 +64,7 @@ async def install( packages. platform: Target platform to create and link the environment. Defaults to current platform. - execute_link_scripts: Wether to execute the post-link and pre-unlink scripts + execute_link_scripts: whether to execute the post-link and pre-unlink scripts that may be part of a package. Defaults to False. show_progress: If set to `True` a progress bar will be shown on the CLI. client: An authenticated client to use for downloading packages. If not specified a default diff --git a/typos.toml b/typos.toml new file mode 100644 index 000000000..376040da0 --- /dev/null +++ b/typos.toml @@ -0,0 +1,15 @@ +[files] +extend-exclude = [ + ".git/", + ".pixi/", + "**/*.snap", + "**/*.txt", + "crates/rattler_libsolv_c", + "test-data", + "crates/rattler_index/tests/test_index.rs" +] +ignore-hidden = false + +[default.extend-words] +strat = "strat" +haa = "haa"