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

Lines changed: 40 additions & 0 deletions

‎.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]

0 commit comments

Comments
 (0)