Commit graph

734 commits

Author SHA1 Message Date
Ed Page
efad85b292 chore: Release 2024-04-12 15:58:51 -05:00
Ed Page
bd72069e0a chore: Release 2024-04-12 15:58:27 -05:00
Ed Page
13d8f4b349 fix(dict): Don't correct kms
Fixes #993
2024-04-12 15:43:43 -05:00
Ed Page
4d4e19f143 fix(dict): Always allow inout
Fixes #991
2024-04-12 15:26:35 -05:00
Ed Page
e1591a6852 chore: Release 2024-04-09 15:27:32 -05:00
Ed Page
859859ac4e
Merge pull request #985 from augustelalande/add-more-python-extensions
Add more python file extensions
2024-04-09 15:25:31 -05:00
augustelalande
5e639f1ddb remove ipynb from python 2024-04-09 16:05:19 -04:00
Ed Page
c0d730e33e chore: Release 2024-04-09 11:49:37 -05:00
Ed Page
7e541bb34f chore: Release 2024-04-09 11:49:17 -05:00
Ed Page
27a8403231 fix(dict): Allow automations 2024-04-09 11:41:22 -05:00
Ed Page
0019ccbb09 chore: Release 2024-04-08 20:42:52 -05:00
Ed Page
2d59707f93 chore: Release 2024-04-08 20:42:32 -05:00
augustelalande
2784d7deb5 add more python extensions 2024-04-07 22:40:02 -04:00
Jordan Petridis
90c1c0fd11
assets/allowed.csv: Fix typo 2024-04-07 13:12:32 +03:00
Jordan Petridis
dcbb1cafd2
Don't correct HD
Common abbreviation for High Definition
2024-04-07 13:12:01 +03:00
Ed Page
c15b28fff9 chore: Release 2024-04-04 09:20:18 -05:00
Ed Page
2f62acfbda chore: Release 2024-04-04 09:19:36 -05:00
Ed Page
47790f2a11 fix(dict): Don't correct ans
Fixes #980
2024-04-04 09:03:09 -05:00
Ed Page
74c34486c1 test: Allow variable whitespace 2024-04-03 09:13:12 -05:00
Ed Page
8b57110b76 test(cli): Verify block-ignores via regex 2024-04-03 09:10:34 -05:00
Ed Page
c4bcca1d18 chore: Release 2024-04-02 10:45:28 -05:00
Ed Page
a9402e3f47 fix: Don't correct common Python identifiers
Fixes #966
Fixes #969
2024-04-02 10:34:28 -05:00
Ed Page
928bceae2c chore: Release 2024-04-02 10:30:16 -05:00
Ed Page
f7119dc6c2 chore: Release 2024-04-02 10:29:43 -05:00
Ed Page
14516cb8b0 fix(dict): Avoid correcting common terms
Supersedes #965
Supersedes #973

Fixes #963
Fixes #974
Fixes #970
2024-04-02 10:12:14 -05:00
Ed Page
2b4e02de78
Merge pull request #972 from kachick/donw-suggest-multiple-candidates
feat(dict): Add suggestion "done" for the typo "donw"
2024-04-02 10:05:03 -05:00
Ed Page
692ac86fb2
Merge pull request #971 from kachick/fix-typo-in-allow-list
chore(dict): Fix a typo in allowed.csv
2024-04-02 10:04:52 -05:00
Kenichi Kamiya
8cd6d93cd5
feat(dict): Add suggestion "done" for the typo "donw"
Fixes #968
2024-04-02 17:42:13 +09:00
Kenichi Kamiya
7f34f97d11
chore(dict): Fix a typo in allowed.csv 2024-04-02 17:26:11 +09:00
Kenichi Kamiya
ebe1ec4842
fix(dict): Don't correct JST used in time zone abbreviations
* chore(dict): `SNAPSHOTS=overwrite cargo test --workspace`
2024-04-02 14:22:34 +09:00
Ed Page
31cbc32eff chore: Release 2024-04-01 16:40:13 -05:00
Ed Page
4fe8b47da3 chore: Release 2024-04-01 16:39:04 -05:00
Ed Page
37254d2e8e fix(dict): Don't correct OpenGraph's namespace
Fixes #960
2024-04-01 16:31:35 -05:00
Ed Page
1d491b8911 chore: Release 2024-04-01 15:34:00 -05:00
Ed Page
68e8611ef5 fix: Don't correct eof 2024-04-01 15:15:53 -05:00
Ed Page
0d94ce21d0 chore: Release 2024-04-01 13:43:41 -05:00
Ed Page
ce0e5a0df1 chore: Release 2024-04-01 13:43:13 -05:00
Ed Page
b7ee76ef6c fix(dict): Remove Spile from being a typo
Fixes #951
2024-04-01 13:34:19 -05:00
Ed Page
5c04e0f12b fix(dict): Apply grammarly typos
Fixes #955
2024-04-01 13:25:14 -05:00
Ed Page
96ecbb8639 fix(dict): March updates
Fixes #943
2024-04-01 13:17:53 -05:00
Ed Page
815f9b2190
Merge pull request #953 from crate-ci/renovate/maturin-1.x
chore(deps): update dependency maturin to >=1.5,<1.6
2024-04-01 10:55:23 -05:00
renovate[bot]
0509c6f3c1 chore(deps): update compatible 2024-04-01 01:02:57 +00:00
renovate[bot]
1501340653
chore(deps): update dependency maturin to >=1.5,<1.6 2024-04-01 00:54:52 +00:00
Ed Page
bcafd462cb chore: Release 2024-03-01 10:42:05 -06:00
Ed Page
c79a9f17b3 chore: Release 2024-03-01 10:26:53 -06:00
Ed Page
99882ae923 test: Make help independent of term 2024-03-01 10:09:58 -06:00
Ed Page
679bf4bdb2 fix(dict): February updates
Fixes #921
2024-03-01 09:52:29 -06:00
Ed Page
859f055f26 test: Update snapshots 2024-03-01 09:18:03 -06:00
renovate[bot]
18308de3c0 chore(deps): update compatible 2024-03-01 01:47:21 +00:00
Ed Page
803094f67a chore: Update snapbox 2024-02-14 20:28:51 -06:00
Ed Page
e4d7f4a4d0 chore: Release 2024-02-13 08:57:47 -06:00
Ed Page
b628b9dd0a chore: Release 2024-02-13 08:57:26 -06:00
Ed Page
de3014ef3c chore: Update winnow 2024-02-13 08:46:25 -06:00
Ed Page
fd7ab4a789 refactor: Prep for winnow 0.6 upgrade 2024-02-12 20:27:33 -06:00
Ed Page
2bf326a3c6 chore: Update winnow 2024-02-12 20:22:47 -06:00
Ed Page
b63f421581 chore: Release 2024-02-08 07:24:48 -06:00
Ed Page
8879269b0d fix(token): Don't crash on parsing unicode 2024-02-08 07:10:28 -06:00
Ed Page
eb99975267 feat(cli): Add a --sort flag 2024-02-07 16:06:19 -06:00
Ed Page
ad80305210 fix(cli): Actually run single-threaded 2024-02-07 16:03:03 -06:00
Ed Page
7cc583fdf1 test(bench): Switch to Divan 2024-02-07 13:21:10 -06:00
Ed Page
443e650b50 chore: Release 2024-02-05 09:41:04 -06:00
Ed Page
ed93b93743 chore: Release 2024-02-05 09:40:33 -06:00
Ed Page
1c2dcf2a84 fix(dict): Dont correct derivate
Fixes #924
2024-02-05 09:26:15 -06:00
Ed Page
1667f36b42
Merge pull request #920 from crate-ci/renovate/maturin-1.x
chore(deps): update dependency maturin to v1
2024-02-01 12:48:18 -06:00
Ed Page
ddb4743d75
Merge pull request #919 from crate-ci/renovate/env_logger-0.x
chore(deps): update rust crate env_logger to 0.11
2024-02-01 12:42:01 -06:00
renovate[bot]
86869bd086
chore(deps): update dependency maturin to v1 2024-02-01 18:41:43 +00:00
Ed Page
64a5d95ce6
Merge pull request #918 from crate-ci/renovate/maturin-0.x
chore(deps): update dependency maturin to >=0.15,<0.16
2024-02-01 12:41:23 -06:00
Ed Page
c9ee166c05 chore: Release 2024-02-01 09:04:03 -06:00
Ed Page
75b54a261e chore: Release 2024-02-01 09:01:49 -06:00
Ed Page
6d439a0abb
Merge pull request #922 from epage/jan
fix(dict): January updates
2024-02-01 09:00:35 -06:00
Ed Page
7d887ff092 fix(dict): January updates
Fixes #897
2024-02-01 08:49:15 -06:00
renovate[bot]
5eeb690a1d
chore(deps): update rust crate env_logger to 0.11 2024-02-01 03:54:54 +00:00
renovate[bot]
3272f07f78 chore(deps): update compatible 2024-02-01 01:14:41 +00:00
renovate[bot]
5f894d88f7
chore(deps): update dependency maturin to >=0.15,<0.16 2024-02-01 01:02:54 +00:00
Ed Page
bdcaedb080 chore: Release 2024-01-19 10:40:08 -06:00
Ed Page
fe1a73ca8a fix(config): Don't treat ts as typoscript
Fixes #911
2024-01-19 10:26:22 -06:00
Ed Page
d543202e5b fix(config): Remove confusing, redundant types 2024-01-19 10:16:01 -06:00
Ed Page
a35b382b44 chore: Release 2024-01-12 15:58:29 -06:00
Ed Page
2361394247 chore: Release 2024-01-02 20:57:17 -06:00
Ed Page
9c418affaf chore: Release 2024-01-02 20:54:19 -06:00
Ed Page
fc355eea89 feat(dict): November/December updates
Fixes #865
2024-01-02 20:33:03 -06:00
renovate[bot]
3f7fcb9c88 chore(deps): update compatible 2024-01-01 01:48:40 +00:00
renovate[bot]
13eedae59e chore(deps): update msrv to v1.75 2023-12-28 16:47:51 +00:00
Ed Page
45a880d9f8 chore: Release 2023-12-27 10:38:16 -06:00
Ed Page
bf66cbd0b6 fix(config): Apply extend-ignore-re to file names
Fixes #885
2023-12-27 10:13:43 -06:00
Ed Page
a9afeef275 test(cli): Show extend-ignore on file names 2023-12-27 09:56:30 -06:00
Ed Page
5bd389de71 chore: Release 2023-12-13 08:51:14 -06:00
Ed Page
55d802d0ef fix(dict): Mirror original case for custom dict
Fixes #781
2023-12-13 08:38:14 -06:00
Ed Page
86c4c9fb4a test(cli): Add reproduction case 2023-12-13 08:34:49 -06:00
Ed Page
548ac37a5d chore: Release 2023-12-08 13:35:58 -06:00
Ed Page
a838b1820f chore: Release 2023-12-08 13:34:42 -06:00
Ed Page
1b92c0182c fix(config): Propagate validation errors
When `flatten`ing an `Option`, all errors are silenced, making the value
`None`, not just "this field doesn't exist".
The easiest way around this was to not use `Option`.

Not too confident in all of the changes but tests pass?

Fixes #881
2023-12-08 13:07:52 -06:00
Ed Page
632b256901 test: Demonstrate bad config bug 2023-12-08 12:13:53 -06:00
Ed Page
69f4b1eaff chore: Move off deprecated 2023-12-04 12:15:09 -06:00
Ed Page
17f9d18573
Merge pull request #877 from crate-ci/renovate/itertools-0.x
chore(deps): update rust crate itertools to 0.12
2023-12-01 10:19:00 -06:00
renovate[bot]
7c0b1f2b13 chore(deps): update compatible 2023-12-01 00:37:24 +00:00
renovate[bot]
1752c10187
chore(deps): update rust crate itertools to 0.12 2023-12-01 00:25:50 +00:00
Ed Page
c97d621b6b chore: Release 2023-11-06 11:56:23 -06:00
Ed Page
e24c694258 fix(cli): Respect force-exclude for simple exclude pattersn
Fixes #868
2023-11-06 11:32:44 -06:00
Ed Page
edfb79f537 test(cli): Reproduce force-exclude bug 2023-11-06 11:20:21 -06:00
Ed Page
0d04ce91a7 chore: Release 2023-11-01 13:58:29 -05:00
Ed Page
194cd85dd6 feat(dict): October updates
Fixes #843
2023-11-01 12:03:58 -05:00
Ed Page
285e5f633c test(dict): Help prevent correctin valid words
This dictionary was taken from OpenOfice
2023-11-01 11:35:01 -05:00
Ed Page
47dd297604 chore: Release 2023-10-27 10:06:07 -05:00
Ed Page
0a5b4abbd5 fix(cli): Make the correction stand out more
This does deviate from rustc for `long` format but it seems worth it.

I did move backticks to be out of the coloring so the `error:` was more
distinct from the typo in `long` format.
2023-10-27 09:28:11 -05:00
Ed Page
1ca321659d fix(cli): Add styling to --file-types 2023-10-27 09:19:42 -05:00
Ed Page
686e4cebe8 fix(cli): Better match rustc's color choices
I missed that rustc was using "bright" colors
2023-10-27 09:16:29 -05:00
Ed Page
56eef884d7 refactor(cli): Simplify palette handling
This did include a couple of tweaks to make it closer to rustc
2023-10-27 09:15:03 -05:00
Ed Page
00220c359a chore: Release 2023-10-17 13:21:10 -05:00
Ed Page
b2685877d2 fix(dict): Dont correct common Julia terms 2023-10-16 20:51:12 -05:00
Ed Page
a640285093 fix(dict): Match .jl to Julia, rather than lisp 2023-10-16 20:50:39 -05:00
Ed Page
a2777f710b test(cli): Verify some Julia terms 2023-10-16 20:40:15 -05:00
Ed Page
d8ac870213 fix(dict): Alllow SHTTP 2023-10-16 20:25:36 -05:00
Ed Page
018f404770 test(cli): Verify shttp shows up 2023-10-16 20:23:14 -05:00
Ed Page
b221e9ce56 chore: Clean up dependencies 2023-10-16 12:58:00 -05:00
Ed Page
c004e98018 chore: Release 2023-10-16 12:51:32 -05:00
Ed Page
be8628fcb3 feat(config): Allow ignoring words by regex
Fixes #852
2023-10-16 12:37:00 -05:00
Ed Page
35a8bc6787 chore: Release 2023-10-11 22:09:14 -05:00
Dawid Ciężarkiewicz
c2e3454a94
feat: --file-list support 2023-10-11 16:32:31 -07:00
Ed Page
ff3f309513 chore: Release 2023-10-09 15:32:06 -05:00
Delgan
8314a1567d Add "--force-exclude" option 2023-10-09 19:39:11 +00:00
Delgan
442b1199da Add initial test preparing "--force-exclude" 2023-10-09 18:53:18 +00:00
Ed Page
4550e7d437 chore: Release 2023-10-02 15:42:50 -05:00
Ed Page
0865dcbf14
Merge pull request #846 from epage/help
fix(cli): Improve help layout
2023-10-02 15:41:50 -05:00
Ed Page
4d8497cfe4
Merge pull request #839 from crate-ci/renovate/anstream-0.x
chore(deps): update rust crate anstream to 0.6.4
2023-10-02 15:12:49 -05:00
Ed Page
3eff16fd47
Merge pull request #840 from crate-ci/renovate/toml-0.x
chore(deps): update rust crate toml to 0.8.1
2023-10-02 15:12:31 -05:00
Ed Page
21c88ca878 fix(cli): Improve help layout 2023-10-02 13:22:44 -05:00
Ed Page
569b09780b test(cli): Track help output 2023-10-02 13:10:05 -05:00
Ed Page
3cdcc38848 chore: Release 2023-10-02 10:27:24 -05:00
Ed Page
a6010c81a5
Merge pull request #844 from epage/sept
feat(dict): September updates
2023-10-02 10:25:43 -05:00
Ed Page
8b4d196a52 feat(dict): September updates
- The correction to `usefull` and `becuase` has existed from the initial implementation,
  as far as I could tell.
- `busses` is a valid variation of `buses`
- Had to put in a hack so that `aligning` would be preferred over
  `alining` because of how the preference algorithm works

Fixes #823
2023-10-02 08:18:50 -05:00
renovate[bot]
3f806a4aea
chore(deps): update rust crate toml to 0.8.1 2023-10-01 03:30:10 +00:00
renovate[bot]
484fdd8c2b
chore(deps): update rust crate anstream to 0.6.4 2023-10-01 03:29:52 +00:00
renovate[bot]
d34cc2c4b0 chore(deps): update compatible 2023-10-01 00:46:21 +00:00
Ed Page
1ccb2ff8ad chore: Release 2023-09-27 10:50:39 -05:00
Ed Page
243b187934 fix(cli): Properly fallback to built-in ident dict 2023-09-27 10:35:22 -05:00
Ed Page
21dba19dec test: Demo line-ignore behavior 2023-09-26 11:01:26 -05:00
Ed Page
bb139b2150 chore: Release 2023-09-25 13:08:40 -05:00
Ed Page
f5a94fc3cc chore: Release 2023-09-25 13:07:27 -05:00
Ed Page
5fd0df2881 fix(cli): Dont correct O_WRONLY
Realized we could just hard code this for now rather creating a general
identifier dictionary.

Fixes #744
2023-09-25 12:50:07 -05:00
Ed Page
9f1d7017e2 test(cli): Show existing O_WRONLY behavior 2023-09-25 12:46:00 -05:00
Ed Page
66a70abc40 refactor(cli): Make room for ident dict 2023-09-25 12:42:18 -05:00
Ed Page
fd6873b6e0 refactor(cli): Make room for ident correction 2023-09-25 12:40:17 -05:00
Ed Page
b798780a13 refactor(dict): Make codegen more specific 2023-09-25 12:13:53 -05:00
Ed Page
4c91f16ae1 fix(dict)!: Dont expose internals 2023-09-25 12:11:43 -05:00
Ed Page
5edf45b39e chore: Release 2023-09-22 19:24:01 -05:00
Ed Page
509ec32112 chore: Release 2023-09-18 14:06:59 -05:00
Ed Page
7c89b528fd chore: Release 2023-09-06 15:33:02 -05:00
Logan Hunt
b856b9603f
feat(config): Support for pyproject.toml files (#790)
This PR adds support for parsing `pyproject.toml` config files. The convention
for these files is to put any tooling related configuration into the
`tool.NAME` section, so in this case, `tool.typos`. I have verified that the
changes are pulled correctly, even if the `tool.typos` section is not present.

Closes #361
2023-09-06 15:31:14 -05:00
Ed Page
65d2fb6b91 chore: Release 2023-09-01 16:22:11 -05:00
Ed Page
602923bbc8 chore: Release 2023-09-01 16:20:50 -05:00
Ed Page
c7a2909bbb feat(dict): August updates
Fixes #784
2023-09-01 16:04:25 -05:00
Ed Page
0c05b217d4 style: Make clippy happy 2023-09-01 10:20:03 -05:00
Ed Page
67ca12a847
Merge pull request #822 from crate-ci/renovate/itertools-0.x
chore(deps): update rust crate itertools to 0.11
2023-09-01 09:34:45 -05:00
renovate[bot]
f4171e782f
chore(deps): update rust crate itertools to 0.11 2023-09-01 03:12:20 +00:00
renovate[bot]
b7681dc6b5
chore(deps): update rust crate anstream to 0.5.0 2023-09-01 03:09:48 +00:00
renovate[bot]
6da9470ef9 chore(deps): update compatible 2023-09-01 01:11:49 +00:00
Ed Page
853cb28df3 chore: Release 2023-08-30 10:43:04 -05:00
Ed Page
8143c3b24c fix(dict): Treat arguement as a misspelling
Fixes #816
2023-08-30 10:05:34 -05:00
Ed Page
e477391cc0 chore: Release 2023-08-21 13:14:08 -05:00
Ed Page
1072809e63 chore: Release 2023-08-21 10:36:58 -05:00
Ed Page
8be21b28e7 fix(cli): Improve error when args aren't present 2023-08-21 10:20:16 -05:00
Ed Page
cfa1821100 test(cli): Show no file error 2023-08-21 10:16:16 -05:00
Ed Page
f8d11b3a69 chore: Release 2023-08-18 16:48:33 -05:00
Ed Page
c927717f2d fix(cli): Report more errors through report system 2023-08-18 16:28:53 -05:00
Ed Page
104ebdcb6b fix(cli): Report paths with errors 2023-08-18 16:28:00 -05:00
Ed Page
e003ac8f1e fix(cli): Improve error on missing config 2023-08-18 16:08:25 -05:00
Ed Page
03e6afbaa6 test(cli): Verify missing config error 2023-08-18 16:03:07 -05:00
Ed Page
0becfbf6cf fix: Accidentally ran typos on typos 2023-08-14 15:55:39 -05:00
Ed Page
8f65f4802b chore: Adopt '_rust/main' template 2023-08-14 15:06:53 -05:00
Ed Page
0863e64406 chore: Release 2023-08-14 09:55:06 -05:00
Ed Page
25383eb358
Merge pull request #803 from epage/lock
fix: Dont check pnpm lockfiles
2023-08-14 09:52:56 -05:00
Ed Page
ef8bf24e7e fix: Dont check pnpm lockfiles
Fixes #802
2023-08-14 09:36:53 -05:00
Viktor Szépe
0d101f3055
chore: move deprecated package.metadata.maturin (#801) 2023-08-12 19:09:26 -05:00
Ed Page
cad89d4596 chore: Release 2023-08-11 20:31:59 -05:00
Ed Page
ef5fcf92df chore: Release 2023-08-09 08:36:21 -05:00
Ed Page
e12fe9b20b
Merge pull request #799 from epage/code
fix(cli): Report bad exit code on disallowed
2023-08-09 08:34:17 -05:00
Ed Page
3bae999225 fix(cli): Report bad exit code on disallowed 2023-08-09 08:21:53 -05:00
Ed Page
3f41a6791c test(cli): Verify disallowed functionality 2023-08-09 08:15:05 -05:00
Martin Fischer
d3e48b202b fix(cli): Allow ot and stap in sh 2023-08-08 18:24:44 +02:00
Martin Fischer
e5e8f25c8e fix(cli): Allow nd in css 2023-08-08 18:24:44 +02:00
Martin Fischer
5181c42c57 fix(cli): Allow Nd in man pages 2023-08-08 18:24:44 +02:00
Ed Page
6f0c32c802
Merge pull request #793 from not-my-profile/refactor-file-type-specifics
refactor(cli): Introduce file_type_specifics module
2023-08-08 11:22:10 -05:00
Martin Fischer
d9a1085018 refactor(cli): Abstract away regex ignores
This isn't perfect as this only helps when doing checks and not in the
parsing impls.

This supersedes #797
2023-08-08 10:40:22 -05:00
Martin Fischer
5dbe0948d3 docs(cli): Add comments to file-type specific ignores 2023-08-08 06:22:34 +02:00
Martin Fischer
fa39bca152 refactor(cli): Introduce file_type_specifics module
This makes the definition of file-type specifics less repetitive.

Resolves #759.
2023-08-08 06:22:34 +02:00
Ed Page
d4258b1aa0 fix(cli): Remove stray character on disallowed words 2023-08-07 16:24:51 -05:00
Ed Page
a3bf84ade6 chore(dict): Don't clear disallowed words 2023-08-07 16:24:51 -05:00
Ed Page
8a7996b4bc chore: Release 2023-08-01 10:43:28 -05:00
Ed Page
6e72bdc74c feat(dict): July updates
Fixes #777
2023-08-01 10:28:23 -05:00
Ed Page
143cc59fab chore: Release 2023-07-14 14:05:04 -05:00
Ed Page
e981fc41fb chore: Release 2023-07-14 14:04:02 -05:00
Ed Page
e14c4725cd chore: Release 2023-07-14 14:03:38 -05:00
Ed Page
2861ad8299 chore: Release 2023-07-14 14:03:01 -05:00
Ed Page
5a63cb3be6 chore: Release 2023-07-14 14:02:39 -05:00
Ed Page
ea0db833b5 chore: Release 2023-07-14 14:01:55 -05:00
Ed Page
37e2b40f24 chore: Release 2023-07-14 14:01:12 -05:00
Ed Page
a2c9d2076a Merge remote-tracking branch 'upstream/master' 2023-07-14 14:00:31 -05:00
Ed Page
9fa116eaf6 chore: Release 2023-07-14 13:59:11 -05:00
Ed Page
b6c78eb8ac refactor(typos): Upgrade to winnow 0.5 2023-07-14 13:29:24 -05:00