ianlewis / todos

Parse TODO and FIXME comments from code
Apache License 2.0
26 stars 2 forks source link

refactor: generate supported languages #1544

Closed ianlewis closed 1 month ago

ianlewis commented 1 month ago

Description:

Generate Go code for the languages configuration.

Related Issues:

Updates #460

Checklist:

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 75.85%. Comparing base (3473c73) to head (328e798). Report is 1 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/ianlewis/todos/pull/1544/graphs/tree.svg?width=650&height=150&src=pr&token=0EBN8DQYFR&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis)](https://app.codecov.io/gh/ianlewis/todos/pull/1544?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis) ```diff @@ Coverage Diff @@ ## main #1544 +/- ## ========================================== - Coverage 76.15% 75.85% -0.31% ========================================== Files 17 17 Lines 1191 1147 -44 ========================================== - Hits 907 870 -37 + Misses 206 201 -5 + Partials 78 76 -2 ``` | [Files](https://app.codecov.io/gh/ianlewis/todos/pull/1544?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis) | Coverage Δ | | |---|---|---| | [internal/scanner/escape.go](https://app.codecov.io/gh/ianlewis/todos/pull/1544?src=pr&el=tree&filepath=internal%2Fscanner%2Fescape.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis#diff-aW50ZXJuYWwvc2Nhbm5lci9lc2NhcGUuZ28=) | `100.00% <100.00%> (ø)` | | | [internal/scanner/scanner.go](https://app.codecov.io/gh/ianlewis/todos/pull/1544?src=pr&el=tree&filepath=internal%2Fscanner%2Fscanner.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis#diff-aW50ZXJuYWwvc2Nhbm5lci9zY2FubmVyLmdv) | `71.07% <100.00%> (-2.08%)` | :arrow_down: | | [internal/todos/todos.go](https://app.codecov.io/gh/ianlewis/todos/pull/1544?src=pr&el=tree&filepath=internal%2Ftodos%2Ftodos.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis#diff-aW50ZXJuYWwvdG9kb3MvdG9kb3MuZ28=) | `99.18% <100.00%> (ø)` | | | [internal/vendoring/vendoring.go](https://app.codecov.io/gh/ianlewis/todos/pull/1544?src=pr&el=tree&filepath=internal%2Fvendoring%2Fvendoring.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ian+Lewis#diff-aW50ZXJuYWwvdmVuZG9yaW5nL3ZlbmRvcmluZy5nbw==) | `100.00% <100.00%> (ø)` | |