Sign inSign up

mishamyrt/checode

By mishamyrt

Updated almost 5 years ago

Comment keyword extractor, parser and reporter

Image
0

10K+

mishamyrt/checode repository overview


Go Report Card

Checode extracts, collects and reports TODOs, FIXMEs and other keywords in your code. If you don't know why you should write a comment, look at the wiki note.

Features

  • Language agnostic
  • Multithreaded
  • CI ready

Usage in command line

checode src/

Usage in GitLab CI

checode:
  stage: quality assurance
  image: mishamyrt/checode
  script:
    checode src/

Configuring

When running, Checode checks if the .checode.yaml file is in current directory and applies it if it is. Default built-in config looks like this:

keywords:
  TODO: warn
  FIXME: err
  STOPSHIP: err

Using the configuration file, you can add processing of any keywords.

keywords:
  XXX: warn
  HACK: warn

To apply a configuration file with a different name, specify it as the parameter.

checode -c custom_config.yaml src/

Tag summary

Content type

Image

Digest

Size

4.5 MB

Last updated

almost 5 years ago

docker pull mishamyrt/checode