Commit graph

1832 commits

Author SHA1 Message Date
Ed Page
5cea291c43 docs: Update changelog 2023-01-13 21:18:18 -06:00
Ed Page
926bad3f6d
Merge pull request #652 from epage/type
feat(cli): '--file-types' flag to help debug detection issues
2023-01-13 21:17:39 -06:00
Ed Page
b92a8c1eea feat(cli): '--file-types' flag to help debug detection issues
Like #567
2023-01-13 20:59:53 -06:00
Ed Page
222da3d81a chore: Upgrade to clap v4 2023-01-13 20:44:33 -06:00
Ed Page
4b6e9c3c1b style(cli): Resolve clap deprecations 2023-01-13 20:43:18 -06:00
Ed Page
62f10571f3 style(cli): Adjust macro/comment style 2023-01-13 20:41:35 -06:00
Ed Page
59c4713e8b docs(ref): Further clarify identifiers and words
This supersedes #648
2023-01-03 07:06:08 -06:00
Ed Page
6773b4caa2 docs(ref): Define identifiers/words
This came up in #646
2023-01-02 07:13:25 -06:00
Ed Page
aa6afe7490
Merge pull request #645 from crate-ci/renovate/toml_edit-0.x
chore(deps): update rust crate toml_edit to 0.16.2
2022-12-31 21:49:59 -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
629a9bf8b4 docs: Update changelog 2022-12-20 14:39:39 -06:00
Ed Page
93d01aecca
Merge pull request #640 from scop/feat/pre-commit-docker
feat: Add Docker pre-commit hook
2022-12-20 14:39:04 -06:00
Ville Skyttä
ec3ffa591c feat: Add Docker pre-commit hook
Mostly as an alternative to the src install, but trading host dependency
on Rust with one on Docker.
2022-12-20 21:06:04 +02:00
Ed Page
f268a89d38 chore: Release 2022-12-19 08:47:53 -06:00
Ed Page
822d759e0c docs: Update changelog 2022-12-19 08:06:55 -06:00
Ed Page
51f0b657f7
Merge pull request #639 from scop/feat/docker-entrypoint
feat: Improve Docker image entry
2022-12-19 08:06:08 -06:00
Ed Page
87d223682b
Merge pull request #638 from scop/fix/docker-debian-sync
fix: Docker/Debian version sync
2022-12-19 08:04:23 -06:00
Ville Skyttä
7f0e8c7295 chore: Make Debian dist a Docker build argument
Makes it overridable from CLI, and just one place to update.
2022-12-18 16:40:25 +02:00
Ville Skyttä
5737842410 chore: Use rust:bullseye as Docker builder
Use `bullseye` explicitly to make the correspondence with the final
image clear, and remove explicit Rust version as it does not seem that
important, and the final runtime image version is what it is at the time
too.
2022-12-18 16:40:25 +02:00
Ville Skyttä
02ceb04147 fix: Use bullseye-slim as final Docker image base
`rust:1.65.0` is based on Bullseye, and at time of writing the binary
built on it does not work on Buster:

```
$ docker build -t typos . && docker run --rm -it typos typos -V
typos: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found
       (required by typos)
```
2022-12-18 16:40:13 +02:00
Ville Skyttä
75e30c7961 feat: Improve Docker image entry
Make `typos` the `ENTRYPOINT` rather than cmd, and output `--help` by
default.

Provides for better UX when running the image without arguments, and
facilitates just passing args to `typos` instead of having to repeat the
command name.

BREAKING CHANGE: `typos` must no longer given as the first argument
when running the Docker image, as it is the default `ENTRYPOINT` now.
2022-12-18 16:37:03 +02:00
Ed Page
73ed739ad5
Merge pull request #637 from scop/feat/pre-commit-default-stages
feat(pre-commit): Improve (/limit) default set of stages to run in
2022-12-17 16:03:24 -06:00
Ville Skyttä
389612f972 feat: Improve (/limit) default set of stages to run pre-commit hook in
https://pre-commit.com/#confining-hooks-to-run-at-certain-stages
2022-12-17 20:16:47 +02:00
Ed Page
1d8996e205 chore: Release 2022-12-06 13:54:17 -06:00
Ed Page
cecdc529dc docs: Update changelog 2022-12-06 13:51:23 -06:00
Ed Page
9114a2451e
Merge pull request #635 from epage/nilable
fix(dict): Remove nilable
2022-12-06 12:21:39 -06:00
Ed Page
c963f68083 fix(dict): Remove nilable
See conversation in #613
2022-12-06 10:47:14 -06:00
Ed Page
46839a3bc5 chore(ci): Update renovate 2022-12-05 09:33:56 -06:00
Ed Page
b38d05b941 docs: Clarify word vs identifier 2022-12-02 10:05:09 -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
feeef06a33
Merge pull request #629 from crate-ci/renovate/rust-1.x
chore(deps): update rust docker tag to v1.65.0
2022-12-01 19:58:33 -06:00
Ed Page
5482632b41 chore: Upgrade deps 2022-12-01 19:30:30 -06:00
renovate[bot]
5b37da6c15
chore(deps): update rust docker tag to v1.65.0 2022-12-02 01:29:27 +00:00
Ed Page
1e503443a6
Merge pull request #632 from crate-ci/renovate/ubuntu-22.x
chore(deps): update ubuntu docker tag to v22
2022-12-01 19:29:13 -06:00
Ed Page
4f252da2a4
Merge pull request #631 from crate-ci/renovate/swatinem-rust-cache-2.x
chore(deps): update swatinem/rust-cache action to v2
2022-12-01 19:29:07 -06:00
Ed Page
620d476247
Merge pull request #630 from crate-ci/renovate/actions-checkout-3.x
chore(deps): update actions/checkout action to v3
2022-12-01 19:28:50 -06:00
Ed Page
070fd11538
Merge pull request #626 from crate-ci/renovate/actions-upload-release-asset-1.x
chore(deps): update actions/upload-release-asset action to v1.0.2
2022-12-01 19:27:48 -06:00
renovate[bot]
aa2789b65f chore(deps): update safe 2022-12-02 00:14:56 +00:00
Ed Page
2af5c34b2d chore: Iterate on renovate 2022-12-01 15:32:14 -06:00
renovate[bot]
c54855872f
chore(deps): update ubuntu docker tag to v22 2022-12-01 17:54:53 +00:00
renovate[bot]
f0d80ae277
chore(deps): update swatinem/rust-cache action to v2 2022-12-01 17:54:48 +00:00
renovate[bot]
6347b7d249
chore(deps): update actions/checkout action to v3 2022-12-01 17:54:42 +00:00
renovate[bot]
a61e48a675
chore(deps): update actions/upload-release-asset action to v1.0.2 2022-12-01 17:20:31 +00:00
Ed Page
6c46ab7708 chore: Switch to renovate 2022-12-01 11:20:06 -06:00
Ed Page
6bf2e7c7d7 chore: Release 2022-11-29 23:00:05 -06:00
Ed Page
5d30e70a07 docs: Update changelog 2022-11-29 22:59:55 -06:00
Ed Page
0f9beef18e
Merge pull request #615 from epage/crash
fix(cli): Have brief match long behavior
2022-11-29 22:58:55 -06:00