Commit Graph
445 Commits
Author SHA1 Message Date
Ed Page 8cb9d50648 docs: Update changelog 2021-04-13 21:28:28 -05:00
Ed Page da76d290ab Merge pull request #223 from epage/tests
Cover more features with tests
2021-04-12 21:27:42 -05:00
Ed Page f36bdc895f test(cli): Cover extract_line 2021-04-12 20:52:15 -05:00
Ed Page d7978658d4 test(cli): Ensure we apply corrections 2021-04-10 19:13:48 -05:00
Ed Page cb02353b5a Merge pull request #222 from epage/types
Polish configuration support
2021-04-10 18:37:04 -05:00
Ed Page a5975ca1ac style: Address clippy 2021-04-10 13:07:07 -05:00
Ed Page e3c1d234f4 test(config): Ensure file type config is used 2021-04-09 15:58:12 -05:00
Ed Page 225971fd4a fix(config): Ensure we actually use file-type config 2021-04-09 15:57:55 -05:00
Ed Page a22567c188 test(config): Ensure types are validated 2021-04-07 21:16:41 -05:00
Ed Page 68c0a0d898 test(config): Ensure CLI overrides work 2021-04-07 21:14:41 -05:00
Ed Page 29fafd1a63 test(config): Verify layering 2021-04-07 20:49:52 -05:00
Ed Page b8294d7afa fix(config): Improve output from --dump-config 2021-04-07 20:49:30 -05:00
Ed Page 8d02a86f2f fix(config): Correct typo in config field name 2021-04-07 20:47:49 -05:00
Ed Page 57ace37ec4 feat(config): Error on invalid types
Fixes #221
2021-04-06 21:28:42 -05:00
Ed Page 10d97949e8 docs(about): Update comparison table 2021-04-06 21:18:56 -05:00
Ed Page 2a7bd5b046 feat(config): Add new file types
Fixes #220
2021-04-06 21:18:18 -05:00
Ed Page c71c9f4f84 refactor(config): Allow extending type matcher 2021-04-06 21:14:47 -05:00
Ed Page 6729bf9f7c refactor(config): Open door for other mutable operations 2021-04-06 21:14:09 -05:00
Ed Page 38a3007c56 fix(config): Properly layer type and override settings 2021-04-06 20:53:34 -05:00
Ed Page 0656a62860 Merge pull request #219 from epage/types
feat(config): Per-file type settings
2021-04-06 13:27:51 -05:00
Ed Page aa21439502 style: Clippy 2021-04-06 10:30:02 -05:00
Ed Page 8f365ee155 feat(config): Show available type definitions 2021-04-05 21:15:41 -05:00
Ed Page a101df95c2 feat(config): Per-file type settings
Fixes #14
2021-04-05 21:03:49 -05:00
Ed Page 3fd90b09f8 fix(cli): Allow CLI to override walking config 2021-04-05 07:34:05 -05:00
Ed Page 78330ba9c1 refactor(cli): Drop the traits from layering 2021-03-31 21:23:30 -05:00
Ed Page 13617fa9d0 refactor(cli): Decouple walk and engine policies 2021-03-31 20:19:52 -05:00
Ed Page 47eb554052 refactor(cli): Clarify role of file config 2021-03-31 20:06:33 -05:00
Ed Page a148054a49 Merge pull request #218 from epage/types
refactor(cli): Prepare for more advanced config
2021-03-31 10:53:06 -05:00
Ed Page d51725b2a4 style: Address clippy 2021-03-30 21:33:39 -05:00
Ed Page 8365351dba perf(cli): Reuse configs across runs 2021-03-29 20:27:12 -05:00
Ed Page a76ddd42ce refactor(cli): Pull out policy creation 2021-03-29 20:27:12 -05:00
Ed Page f402d3ee77 refactor(config): Clarify config is not file-specific
This is prep for the config being reused in other contexts, like commit
messages.
2021-03-29 20:27:12 -05:00
Ed Page 4bbc59facf refactor(config)!: Detect when no dict config
In preparing for smarter handling of config, we need to be able to tell
what is present and what isn't.

BREAKING CHANGE: `--hex` was removed, the value didn't seem high enough.
2021-03-29 20:27:12 -05:00
Ed Page 8bcacf3ca6 refactor(cli): Break out config->policy
This is prep for having many policies floating around
2021-03-29 20:27:12 -05:00
Ed Page b17f9c3a12 feat: Const some fns 2021-03-29 20:27:06 -05:00
Ed Page 75ba4ac535 perf(config): Get small-string optimization 2021-03-01 12:25:51 -06:00
Ed Page b5827004a2 refactor(config): Simplify 2021-03-01 12:19:56 -06:00
Ed Page 60dbf0a254 Merge pull request #217 from epage/refactor
Lay groundwork for new policy engine
2021-03-01 12:15:14 -06:00
Ed Page e9ff977be5 chore: Upgrade dependencies 2021-03-01 11:50:23 -06:00
Ed Page 0ea6de6019 refactor(cli): Clarify role of checks 2021-03-01 11:50:23 -06:00
Ed Page b5f606f201 refactor(typos): Simplify the top-level API 2021-03-01 11:50:23 -06:00
Ed Page e1e4ce8b61 refactor: Clarify roles 2021-03-01 11:50:23 -06:00
Ed Page 1010d2ffe5 refactor(tokenizer): Remove stale function 2021-03-01 11:50:23 -06:00
Ed Page ddeee94cf8 refactor(checks): Make all state dynamic 2021-03-01 11:50:23 -06:00
Ed Page 1c3acd747a fix(config)!: Move binary to file
Seems like it would make sense to allow varying this by directory (when
supporting layering) and by file type.
2021-03-01 11:50:12 -06:00
Ed Page c6a5cc0a7c Merge pull request #207 from epage/update
chore: Pass along improvements
2021-02-06 14:17:48 -06:00
Ed Page df15d5e982 style: Resolve clippy 2021-02-06 11:19:08 -06:00
Ed Page 364e9f1dc8 refactor(bench): Switch to criterion 2021-02-05 21:38:44 -06:00
Ed Page f64f9b7fde docs: Switch to keepachangelog 2021-02-04 21:46:50 -06:00
Ed Page c0b942abde chore: Pass along improvements 2021-02-04 21:46:38 -06:00