diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 0000000000..858fdd6786 --- /dev/null +++ b/.codespellrc @@ -0,0 +1,5 @@ +[codespell] +skip = .git,*.pdf,*.svg,.codespellrc +check-hidden = true +# ignore-regex = +ignore-words-list = datas diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 0000000000..7373affc38 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,22 @@ +--- +name: Codespell + +on: + push: + branches: [master] + pull_request: + branches: [master] + +permissions: + contents: read + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Codespell + uses: codespell-project/actions-codespell@v2 diff --git a/docs/README.md b/docs/README.md index 3b12e98f4c..dd124685c9 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2103,7 +2103,7 @@ $ cat session.json ``` ```bash -# Re-use the existing session — the API-Token header will be set: +# Reuse the existing session — the API-Token header will be set: $ http --session=./session.json pie.dev/headers ``` @@ -2410,7 +2410,7 @@ HTTPie offers extensibility through a [plugin API](https://github.com/httpie/cli and there are dozens of plugins available to try! They add things like new authentication methods ([akamai/httpie-edgegrid](https://github.com/akamai/httpie-edgegrid)), transport mechanisms ([httpie/httpie-unixsocket](https://github.com/httpie/httpie-unixsocket)), -message convertors ([banteg/httpie-image](https://github.com/banteg/httpie-image)), or simply +message converters ([banteg/httpie-image](https://github.com/banteg/httpie-image)), or simply change how a response is formatted. > Note: Plugins are usually made by our community members, and thus have no direct relationship with diff --git a/extras/profiling/benchmarks.py b/extras/profiling/benchmarks.py index 9d409debbe..26a3f97853 100644 --- a/extras/profiling/benchmarks.py +++ b/extras/profiling/benchmarks.py @@ -21,7 +21,7 @@ $ python extras/profiling/benchmarks.py --fast # For verify everything works as expected, pass --debug-single-value. - # It will only run everything once, so the resuls are not reliable. But + # It will only run everything once, so the results are not reliable. But # very useful when iterating on a benchmark $ python extras/profiling/benchmarks.py --debug-single-value