<commit_before>default:
  deps: [test]

dl-deps:
  desc: Downloads cli dependencies
  cmds:
    - go get -u github.com/golang/lint/golint
    - go get -u github.com/golang/dep/cmd/dep

update-deps:
  desc: Updates dependencies
  cmds:
    - dep ensure
    - dep ensure -update
    - dep prune

lint:
  desc: Runs golint
  cmds:
    - golint $(ls *.go | grep -v "doc.go")
  silent: true

test:
  desc: Runs go tests
  cmds:
    - go test -race  .<commit_msg>Lint files with go fmt & go vet (#36)<commit_after>default:
  deps: [test]

dl-deps:
  desc: Downloads cli dependencies
  cmds:
    - go get -u github.com/golang/lint/golint
    - go get -u github.com/golang/dep/cmd/dep

update-deps:
  desc: Updates dependencies
  cmds:
    - dep ensure
    - dep ensure -update
    - dep prune

lint:
  desc: Runs golint
  cmds:
    - go fmt $(go list ./... | grep -v /vendor/)
    - go vet $(go list ./... | grep -v /vendor/)
    - golint $(ls *.go | grep -v "doc.go")
  silent: true

test:
  desc: Runs go tests
  cmds:
    - go test -race  .
{'fraction_non_alphanumeric': 0.13127413127413126, 'fraction_numerical': 0.0019305019305019305, 'mean_word_length': 2.132930513595166, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4457806', 'n_tokens_mistral': 424, 'n_tokens_neox': 399, 'n_words': 123}