diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 330e30d1f..4a4e7151b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -46,4 +46,7 @@ jobs: - uses: actions/setup-python@v2 - uses: psf/black@21.4b0 with: - args: ". --check" \ No newline at end of file + args: ". --check" + - uses: codespell-project/actions-codespell@master + with: + ignore_words_list: crate diff --git a/Changelog.md b/Changelog.md index 151f26c68..d81e0b9af 100644 --- a/Changelog.md +++ b/Changelog.md @@ -80,7 +80,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Better cross compiling support for PyO3 binding on Unix in [#454](https://github.com/PyO3/maturin/pull/454) * Fix s390x architecture support in [#530](https://github.com/PyO3/maturin/pull/530) * Fix auditwheel panic with s390x wheels in [#532](https://github.com/PyO3/maturin/pull/532) -* Support uploading heterogenous wheels by ravenexp in [#544](https://github.com/PyO3/maturin/pull/544) +* Support uploading heterogeneous wheels by ravenexp in [#544](https://github.com/PyO3/maturin/pull/544) * Warn about `pyproject.toml` missing maturin version constraint in [#545](https://github.com/PyO3/maturin/pull/545) ## [0.10.4] - 2021-04-28 diff --git a/src/compile.rs b/src/compile.rs index eb8ceb265..6b032d35b 100644 --- a/src/compile.rs +++ b/src/compile.rs @@ -143,7 +143,7 @@ fn compile_target( format!("{base}.abi3.so", base = module_name) } }; - // Change LC_ID_DYLIB to the finaly .so name for macOS targets to avoid linking with + // Change LC_ID_DYLIB to the final .so name for macOS targets to avoid linking with // non-existent library. // See https://github.com/PyO3/setuptools-rust/issues/106 for detail let macos_dylib_install_name = format!("link-args=-Wl,-install_name,@rpath/{}", so_filename); diff --git a/src/cross_compile.rs b/src/cross_compile.rs index 8cc972926..f59318630 100644 --- a/src/cross_compile.rs +++ b/src/cross_compile.rs @@ -91,7 +91,7 @@ fn ends_with(entry: &DirEntry, pat: &str) -> bool { /// pybuilddir = 'build/lib.%s-%s' % (get_platform(), sys.version_info[:2]) /// ``` /// -/// Where get_platform returns a kebab-case formated string containing the os, the architecture and +/// Where get_platform returns a kebab-case formatted string containing the os, the architecture and /// possibly the os' kernel version (not the case on linux). However, when installed using a package /// manager, the `_sysconfigdata*.py` file is installed in the `${PREFIX}/lib/python3.Y/` directory. /// The `_sysconfigdata*.py` is generally in a sub-directory of the location of `libpython3.Y.so`. diff --git a/src/module_writer.rs b/src/module_writer.rs index 94d676085..3494c559d 100644 --- a/src/module_writer.rs +++ b/src/module_writer.rs @@ -81,7 +81,7 @@ pub struct PathWriter { } impl PathWriter { - /// Creates a [ModuleWriter] that adds the modul to the current virtualenv + /// Creates a [ModuleWriter] that adds the module to the current virtualenv pub fn venv(target: &Target, venv_dir: &Path, bridge: &BridgeModel) -> Result { let interpreter = PythonInterpreter::check_executable(target.get_venv_python(&venv_dir), target, bridge)? diff --git a/src/python_interpreter.rs b/src/python_interpreter.rs index 882866d3f..87b9289b2 100644 --- a/src/python_interpreter.rs +++ b/src/python_interpreter.rs @@ -525,7 +525,7 @@ impl PythonInterpreter { Ok(available_versions) } - /// Checks that given list of executables are all valid python intepreters, + /// Checks that given list of executables are all valid python interpreters, /// determines the abiflags and versions of those interpreters and /// returns them as [PythonInterpreter] pub fn check_executables( diff --git a/src/target.rs b/src/target.rs index 770395e93..bb7ddb0df 100644 --- a/src/target.rs +++ b/src/target.rs @@ -165,7 +165,7 @@ impl Target { Arch::Powerpc64 => "powerpc64", Arch::Powerpc64Le => "powerpc64le", _ => panic!( - "unsupported architecutre should not have reached get_platform_tag()" + "unsupported architecture should not have reached get_platform_tag()" ), }; format!( diff --git a/test-crates/pyo3-no-extension-module/Cargo.toml b/test-crates/pyo3-no-extension-module/Cargo.toml index 5580ac947..116fdc3d5 100644 --- a/test-crates/pyo3-no-extension-module/Cargo.toml +++ b/test-crates/pyo3-no-extension-module/Cargo.toml @@ -2,7 +2,7 @@ authors = ["konstin "] name = "pyo3-no-extension-module" version = "2.1.0" -description = "Does not use the extension-module feature, thus errorneously linking libpython" +description = "Does not use the extension-module feature, thus erroneously linking libpython" edition = "2021" [dependencies]