Skip to content

Commit

Permalink
Merge pull request #1930 from jqnatividad/incorporate-typos-check
Browse files Browse the repository at this point in the history
Incorporate typos check
  • Loading branch information
jqnatividad authored Jun 30, 2024
2 parents 91ed612 + 35bbf27 commit 9fdf066
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 8 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ which was causing dependency bloat

This release is all about speed, speed, speed! We've made qsv even faster by leveraging Polars' multithreaded, mem-mapped CSV reader to get near-instant row counts of large CSV files, and near instant SQL queries and aggregations with Datapusher+ - automagically inferring metadata and giving you quick insights into your data in seconds!

We're demoing our qsv-powered Datapusher+ at the [March 2024 installment of CKAN Montly Live](https://ckan.org/events/ckan-datapusher-plus-automagical-metadata) on March 20, 2024, 13:00-14:00 UTC. [Join us](https://ckan.us4.list-manage.com/subscribe?u=91e21b1d5004f15a8fb3d3276&id=0b261bc4ca)!
We're demoing our qsv-powered Datapusher+ at the [March 2024 installment of CKAN Monthly Live](https://ckan.org/events/ckan-datapusher-plus-automagical-metadata) on March 20, 2024, 13:00-14:00 UTC. [Join us](https://ckan.us4.list-manage.com/subscribe?u=91e21b1d5004f15a8fb3d3276&id=0b261bc4ca)!

Beyond pushing data reliably at speed into your CKAN Datastore ([it pushes real good! 😉](https://github.com/dathere/datapusher-plus/discussions/23)), DP+ does some extended analysis, processing and enrichment of the data so it can be readily Used.

Expand Down Expand Up @@ -912,7 +912,7 @@ Users can manually verify the signatures by downloading the zipsign public key a
* `frequency`: added `--ignore-case` option https://github.com/jqnatividad/qsv/pull/1386
* `geocode`: added 500, 1000, 5000, 15000 Geonames cities convenience shortcuts to `index` subcommands https://github.com/jqnatividad/qsv/commit/bd9f4c34b0a88cc6a446872ed4cda41e8a1ca102
* `schema`: added `--ignore-case` option when compiling enum constraints; replaced Hashset with faster AHashset https://github.com/jqnatividad/qsv/commit/a16a1ca25f93699a5ee27327f4257e8e559bc5e8
* `snappy`: added `buf_size` parm to compress helper fn https://github.com/jqnatividad/qsv/commit/e0c0d1f7eb22917d43f638121babe23e366c9dd8
* `snappy`: added `buf_size` param to compress helper fn https://github.com/jqnatividad/qsv/commit/e0c0d1f7eb22917d43f638121babe23e366c9dd8
* `sniff` added `--just-mime` option https://github.com/jqnatividad/qsv/pull/1372
* added zipsign signature verification to self-update https://github.com/jqnatividad/qsv/pull/1389

Expand Down
18 changes: 18 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[default]
extend-ignore-identifiers-re = ["wrk", "flate", "ND"]

[default.extend-identifiers]
# typos in third-party code
WrittingCSV = "WrittingCSV"
seperator = "seperator"

[default.extend-words]
# these are false positives in data/examples
ba = "ba"
fo = "fo"
hel = "hel"
UE = "UE"
seeked = "seeked"

[files]
extend-exclude = ["*.pynb", "*.ipynb", "*.lua"]
6 changes: 3 additions & 3 deletions src/cmd/frequency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ frequency options:
of indexing.
-l, --limit <arg> Limit the frequency table to the N most common
items. Set to '0' to disable a limit.
If negative, only return values with an occurence
If negative, only return values with an occurrence
count >= absolute value of the negative limit.
e.g. --limit -2 will only return values with an
occurence count >= 2.
occurrence count >= 2.
[default: 10]
-u, --unq-limit <arg> If a column has all unique values, limit the
frequency table to a sample of N unique items.
Expand Down Expand Up @@ -256,7 +256,7 @@ impl Args {
if self.flag_limit > 0 {
counts.truncate(abs_limit);
} else if self.flag_limit < 0 && !unique_limited {
// if limit is negative, only return values with an occurence count >= absolute
// if limit is negative, only return values with an occurrence count >= absolute
// value of the negative limit. We only do this if we haven't
// already unique limited the values
let count_limit = abs_limit as u64;
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/split.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Common options:
appear in all chunks as the header row.
-d, --delimiter <arg> The field delimiter for reading CSV data.
Must be a single character. (default: ,)
-Q, --quiet Do not display an output summmary to stderr.
-Q, --quiet Do not display an output summary to stderr.
"#;

use std::{fs, io, path::Path};
Expand Down
4 changes: 2 additions & 2 deletions tests/test_fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -830,8 +830,8 @@ macro_rules! test_server {
}

macro_rules! test_url {
($api_parm:expr) => {
concat!("http://", test_server!(), "/", $api_parm)
($api_param:expr) => {
concat!("http://", test_server!(), "/", $api_param)
};
}

Expand Down

0 comments on commit 9fdf066

Please sign in to comment.