Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[codespell]
skip = .git,*.pdf,*.svg
ignore-words-list = crate,dne
22 changes: 22 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Codespell

on:
push:
branches: [master]
pull_request:
branches: [master]

permissions:
contents: read

jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Codespell
uses: codespell-project/actions-codespell@v2
2 changes: 1 addition & 1 deletion src/cmd/split.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Usage:
split options:
-s, --size <arg> The number of records to write into each chunk.
[default: 500]
-j, --jobs <arg> The number of spliting jobs to run in parallel.
-j, --jobs <arg> The number of splitting jobs to run in parallel.
This only works when the given CSV data has
an index already created. Note that a file handle
is opened for each job.
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ impl Commute for FieldType {
(TNull, any) | (any, TNull) => any,
// There's no way to get around an unknown.
(TUnknown, _) | (_, TUnknown) => TUnknown,
// Integers can degrate to floats.
// Integers can degrade to floats.
(TFloat, TInteger) | (TInteger, TFloat) => TFloat,
// Numbers can degrade to Unicode strings.
(TUnicode, TFloat) | (TFloat, TUnicode) => TUnicode,
Expand Down
2 changes: 1 addition & 1 deletion src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ pub fn range(start: Idx, end: Idx, len: Idx, index: Idx)
}
}

/// Create a directory recursively, avoiding the race conditons fixed by
/// Create a directory recursively, avoiding the race conditions fixed by
/// https://github.com/rust-lang/rust/pull/39799.
fn create_dir_all_threadsafe(path: &Path) -> io::Result<()> {
// Try 20 times. This shouldn't theoretically need to be any larger
Expand Down