test: Check for codespell in lint-spelling.sh #16767

pull kristapsk wants to merge 1 commits into bitcoin:master from kristapsk:check-for-codespell changing 1 files +5 −0
  1. kristapsk commented at 9:02 PM on August 30, 2019: contributor

    Similar check for spellcheck already exists in lint-shell.sh

  2. Check for codespell in lint-spelling.sh
    Similar check for spellcheck already exists in lint-shell.sh
    8340763dc3
  3. fanquake added the label Tests on Aug 30, 2019
  4. practicalswift commented at 9:21 PM on August 30, 2019: contributor

    ACK 8340763dc3278c828ee7d525de4c71b4615d17cc -- diff looks correct

  5. fanquake approved
  6. fanquake commented at 6:18 AM on August 31, 2019: member

    ACK 8340763dc3278c828ee7d525de4c71b4615d17cc - Test is the same as in lint-shell.sh.

    git rev-parse HEAD
    8340763dc3278c828ee7d525de4c71b4615d17cc
    michaels-MacBook-Pro-2:bitcoin michael$ test/lint/lint-spelling.sh 
    ci/retry/retry:20: Paramters  ==> Parameters
    contrib/guix/manifest.scm:109: Convienience  ==> Convenience
    src/netbase.cpp:608: thru  ==> through
    src/netbase.cpp:712: sepcified  ==> specified
    src/node/transaction.cpp:34: doesnt  ==> doesn't, does not
    src/node/transaction.cpp:34: doesnt'  ==> doesn't
    src/test/base32_tests.cpp:14: fo  ==> of, for
    src/test/base64_tests.cpp:14: fo  ==> of, for
    ^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/lint-spelling.ignore-words.txt
    michaels-MacBook-Pro-2:bitcoin michael$ pip uninstall codespell
    Uninstalling codespell-1.15.0:
      Would remove:
        /Users/michael/.pyenv/versions/3.5.6/bin/codespell
        /Users/michael/.pyenv/versions/3.5.6/lib/python3.5/site-packages/codespell-1.15.0-py3.5.egg-info
        /Users/michael/.pyenv/versions/3.5.6/lib/python3.5/site-packages/codespell_lib/*
    Proceed (y/n)? y
      Successfully uninstalled codespell-1.15.0
    michaels-MacBook-Pro-2:bitcoin michael$ test/lint/lint-spelling.sh 
    Skipping spell check linting since codespell is not installed.
    
  7. fanquake referenced this in commit 495db72ee7 on Aug 31, 2019
  8. fanquake merged this on Aug 31, 2019
  9. fanquake closed this on Aug 31, 2019

  10. kristapsk deleted the branch on Aug 31, 2019
  11. linuxsh2 referenced this in commit b08bc1c56c on Aug 11, 2021
  12. DrahtBot locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 15:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me