Commit graph

392 commits

Author SHA1 Message Date
Ed Page
dc0eafc7e5 chore: Release 2023-03-14 02:14:39 -05:00
Ed Page
3a29410c1b fix: Improve color env variable support
- `CLICOLOR=1` now works correctly
- `NO_COLOR=` now works correctly
- Auto-enable colors in CI


For running `typos` on the Linux kernel (176,210 typos to be printed), we went from 20.082s to
<20.450s.  Where in that range is unclear due to jitter in my system.
```console
$ hyperfine -L typos ./typos-main,./typos-anstream "{typos} ../../../linux" -i
Benchmark 1: ./typos-main ../../../linux
  Time (mean ± σ):     20.082 s ±  0.111 s    [User: 39.668 s, System: 0.474 s]
  Range (min … max):   19.961 s … 20.331 s    10 runs

  Warning: Ignoring non-zero exit code.

Benchmark 2: ./typos-anstream ../../../linux
  Time (mean ± σ):     20.426 s ±  0.104 s    [User: 40.301 s, System: 0.523 s]
  Range (min … max):   20.316 s … 20.661 s    10 runs

  Warning: Ignoring non-zero exit code.

Summary
  './typos-main ../../../linux' ran
    1.02 ± 0.01 times faster than './typos-anstream ../../../linux'

$ CLICOLOR_FORCE=1 hyperfine -L typos ./typos-anstream "{typos} ../../../linux" -i
Benchmark 1: ./typos-anstream ../../../linux
  Time (mean ± σ):     20.262 s ±  0.075 s    [User: 39.961 s, System: 0.542 s]
  Range (min … max):   20.154 s … 20.420 s    10 runs

  Warning: Ignoring non-zero exit code.

$ CLICOLOR=0 hyperfine -L typos ./typos-anstream "{typos} ../../../linux" -i
Benchmark 1: ./typos-anstream ../../../linux
  Time (mean ± σ):     20.296 s ±  0.065 s    [User: 40.003 s, System: 0.565 s]
  Range (min … max):   20.169 s … 20.383 s    10 runs

  Warning: Ignoring non-zero exit code.
```
2023-03-13 23:01:45 -05:00
Ed Page
28e7f17a65 chore: Release 2023-03-13 20:45:44 -05:00
Ed Page
34289639e6 chore: Release 2023-03-13 12:33:33 -05:00
Ed Page
3d0de83fb6 chore: Release 2023-03-13 11:57:15 -05:00
Ed Page
a50bd03c2a chore: Release 2023-03-07 04:47:20 -06:00
Ed Page
5414608bf6 chore: Release 2023-03-07 03:18:52 -06:00
Ed Page
52d0ea7ddf chore: Release 2023-03-05 21:02:01 -06:00
Ed Page
08a9831825 chore: Release 2023-03-05 20:43:46 -06:00
Ed Page
c389c36b66 chore: Release 2023-02-28 07:25:30 -06:00
Ed Page
f4293b58c5 chore: Release 2023-02-28 06:30:27 -06:00
Ed Page
ce20d2f220 chore: Update dependencies 2023-02-28 05:46:19 -06:00
Ed Page
d752626069 chore: Update dependencies 2023-02-27 23:34:02 -06:00
Ed Page
8cef23a8f4 chore: Release 2023-02-27 16:14:07 -06:00
Ed Page
9f306b2be9 chore: Release 2023-02-27 15:33:00 -06:00
Ed Page
26c2ca1853 chore: Release 2023-02-23 13:09:37 -06:00
Ed Page
59a10c298a chore: Release 2023-02-23 10:44:11 -06:00
Ed Page
ed8683ab81 chore: Release 2023-02-22 11:26:17 -06:00
Ed Page
1ca59423d4 chore: Release 2023-02-22 11:25:22 -06:00
Ed Page
15e748d0e5 refactor: Switch to winnow 2023-02-21 10:41:45 -06:00
Ed Page
6e14cefb85 chore: Release 2023-02-01 10:09:00 -06:00
Ed Page
adce192ca3 chore: Update dependencies 2023-02-01 09:31:38 -06:00
Ed Page
97770bdd02 chore: Release 2023-01-25 10:31:49 -06:00
Ed Page
12c6491895 chore: Release 2023-01-16 08:43:06 -06:00
Ed Page
1f4ee742ab chore: Release 2023-01-13 21:18:38 -06:00
Ed Page
222da3d81a chore: Upgrade to clap v4 2023-01-13 20:44:33 -06:00
renovate[bot]
6008845ec8
chore(deps): update rust crate toml_edit to 0.16.2 2023-01-01 02:15:37 +00:00
renovate[bot]
4f6f07b904 chore(deps): update compatible 2023-01-01 02:13:39 +00:00
Ed Page
6efbdc33f4 chore: Release 2022-12-20 14:39:46 -06:00
Ed Page
f268a89d38 chore: Release 2022-12-19 08:47:53 -06:00
Ed Page
1d8996e205 chore: Release 2022-12-06 13:54:17 -06:00
Ed Page
4637c964a3 chore: Release 2022-12-01 20:25:20 -06:00
Ed Page
98c3a33cc6 chore: Release 2022-12-01 20:00:28 -06:00
Ed Page
5482632b41 chore: Upgrade deps 2022-12-01 19:30:30 -06:00
renovate[bot]
aa2789b65f chore(deps): update safe 2022-12-02 00:14:56 +00:00
Ed Page
6bf2e7c7d7 chore: Release 2022-11-29 23:00:05 -06:00
Ed Page
8b88f9f340 chore: Release 2022-11-21 22:26:08 -06:00
Ed Page
905a150be8 chore: Release 2022-11-21 22:25:30 -06:00
Ed Page
eff3fe8444 chore: Release 2022-11-04 09:52:20 -05:00
Ed Page
39b28c3010 chore: Release 2022-11-03 22:28:10 -05:00
Ed Page
e87d192bc5
Merge pull request #600 from crate-ci/dependabot/cargo/anyhow-1.0.66
chore(deps): bump anyhow from 1.0.65 to 1.0.66
2022-11-02 23:12:24 -05:00
Ed Page
1f8471a42a
Merge pull request #602 from crate-ci/dependabot/cargo/serde_json-1.0.87
chore(deps): bump serde_json from 1.0.85 to 1.0.87
2022-11-02 23:12:15 -05:00
dependabot[bot]
208ed0e0f4
chore(deps): bump anyhow from 1.0.65 to 1.0.66
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.65 to 1.0.66.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.65...1.0.66)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 19:47:14 +00:00
Ed Page
1cd8a74031 chore: Upgrade dependencies 2022-11-01 14:14:35 -05:00
dependabot[bot]
d5eeea9c87
chore(deps): bump serde_json from 1.0.85 to 1.0.87
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.85 to 1.0.87.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.85...v1.0.87)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 07:03:58 +00:00
Ed Page
2dca8dea3c chore: Bump versions 2022-10-25 07:10:22 -05:00
Ed Page
4e7e37799b chore: Release 2022-10-20 07:08:07 -05:00
Ed Page
2fc71b2e13 chore: Release 2022-10-11 09:48:09 -05:00
Ed Page
16ca0accbb chore: Release 2022-10-06 08:26:11 -05:00
Ed Page
3598acea5d chore: Upgrade proc-exit 2022-10-04 10:46:45 -05:00