8000 disable cspell from files with a bunch of OS jargons · RustPython/RustPython@372e683 · GitHub
[go: up one dir, main page]

Skip to content

Commit 372e683

Browse files
committed
disable cspell from files with a bunch of OS jargons
1 parent 5f6f6cc commit 372e683

22 files changed

+40
-0
lines changed

.cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@
187187
"warningregistry",
188188
"warnopts",
189189
"weakproxy",
190+
"winver",
190191
"xopts",
191192
// RustPython
192193
"baseclass",

common/src/os.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// cspell:disable
12
// TODO: we can move more os-specific bindings/interfaces from stdlib::{os, posix, nt} to here
23

34
use std::{io, str::Utf8Error};

stdlib/src/mmap.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// cspell:disable
12
//! mmap module
23
pub(crate) use mmap::make_module;
34

stdlib/src/overlapped.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
pub(crate) use _overlapped::make_module;
24

35
#[allow(non_snake_case)]

stdlib/src/posixsubprocess.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
use crate::vm::{
24
builtins::PyListRef,
35
function::ArgSequence,

stdlib/src/resource.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
pub(crate) use resource::make_module;
24

35
#[pymodule]

stdlib/src/select.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
use crate::vm::{
24
PyObject, PyObjectRef, PyRef, PyResult, TryFromObject, VirtualMachine, builtins::PyListRef,
35
builtins::PyModule,

stdlib/src/socket.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
use crate::vm::{PyRef, VirtualMachine, builtins::PyModule};
24
#[cfg(feature = "ssl")]
35
pub(super) use _socket::{PySocket, SelectKind, sock_select, timeout_error_msg};

stdlib/src/ssl.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
use crate::vm::{PyRef, VirtualMachine, builtins::PyModule};
24
use openssl_probe::ProbeResult;
35

stdlib/src/termios.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
pub(crate) use self::termios::make_module;
24

35
#[pymodule]

vm/src/stdlib/ctypes.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
pub(crate) mod array;
24
pub(crate) mod base;
35
pub(crate) mod function;

vm/src/stdlib/ctypes/function.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
use crate::builtins::{PyStr, PyTupleRef, PyTypeRef};
24
use crate::convert::ToPyObject;
35
use crate::function::FuncArgs;

vm/src/stdlib/errno.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
use crate::{PyRef, VirtualMachine, builtins::PyModule};
24

35
#[pymodule]

vm/src/stdlib/msvcrt.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
pub use msvcrt::*;
24

35
#[pymodule]

vm/src/stdlib/nt.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
use crate::{PyRef, VirtualMachine, builtins::PyModule};
24

35
pub use module::raw_set_handle_inheritable;

vm/src/stdlib/os.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
use crate::{
24
AsObject, Py, PyPayload, PyResult, VirtualMachine,
35
builtins::{PyBaseExceptionRef, PyModule, PySet},

vm/src/stdlib/posix.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
use crate::{PyRef, VirtualMachine, builtins::PyModule};
24
use std::os::unix::io::RawFd;
35

vm/src/stdlib/posix_compat.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
//! `posix` compatible module for `not(any(unix, windows))`
24
use crate::{PyRef, VirtualMachine, builtins::PyModule};
35

vm/src/stdlib/pwd.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
pub(crate) use pwd::make_module;
24

35
#[pymodule]

vm/src/stdlib/signal.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
use crate::{PyRef, VirtualMachine, builtins::PyModule};
24

35
pub(crate) fn make_module(vm: &VirtualMachine) -> PyRef<PyModule> {

vm/src/stdlib/winapi.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// cspell:disable
2+
13
#![allow(non_snake_case)]
24
pub(crate) use _winapi::make_module;
35

vm/src/stdlib/winreg.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// cspell:disable
12
#![allow(non_snake_case)]
23

34
use crate::{PyRef, VirtualMachine, builtins::PyModule};

0 commit comments

Comments
 (0)
0