From 7e7b58698287b419a18e2b09dbcb80dc0970a2fd Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 16 Feb 2023 11:09:43 -0500 Subject: [PATCH 1/3] .codespellrc config file to skip git and sample UTF-8 demo --- .codespellrc | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .codespellrc diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 00000000..cad35b3f --- /dev/null +++ b/.codespellrc @@ -0,0 +1,2 @@ +[codespell] +skip = .git,UTF-8-demo.txt From 733a2f2f7b1bde6bfc1cf93ea40fc2822163da43 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 16 Feb 2023 11:09:52 -0500 Subject: [PATCH 2/3] [DATALAD RUNCMD] Run codespell throughout fixing few new typos === Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ --- httpbin/core.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/httpbin/core.py b/httpbin/core.py index 305c9882..072f333d 100644 --- a/httpbin/core.py +++ b/httpbin/core.py @@ -958,7 +958,7 @@ def basic_auth(user="user", passwd="passwd"): - application/json responses: 200: - description: Sucessful authentication. + description: Successful authentication. 401: description: Unsuccessful authentication. """ @@ -986,7 +986,7 @@ def hidden_basic_auth(user="user", passwd="passwd"): - application/json responses: 200: - description: Sucessful authentication. + description: Successful authentication. 404: description: Unsuccessful authentication. """ @@ -1011,7 +1011,7 @@ def bearer_auth(): - application/json responses: 200: - description: Sucessful authentication. + description: Successful authentication. 401: description: Unsuccessful authentication. """ @@ -1048,7 +1048,7 @@ def digest_auth_md5(qop=None, user="user", passwd="passwd"): - application/json responses: 200: - description: Sucessful authentication. + description: Successful authentication. 401: description: Unsuccessful authentication. """ @@ -1081,7 +1081,7 @@ def digest_auth_nostale(qop=None, user="user", passwd="passwd", algorithm="MD5") - application/json responses: 200: - description: Sucessful authentication. + description: Successful authentication. 401: description: Unsuccessful authentication. """ @@ -1121,7 +1121,7 @@ def digest_auth( - application/json responses: 200: - description: Sucessful authentication. + description: Successful authentication. 401: description: Unsuccessful authentication. """ From 28f75bdc9ec47d07a83f36505c184d490d306e77 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 16 Feb 2023 11:10:37 -0500 Subject: [PATCH 3/3] Github workflow to codespell the project to not let any typo to sneak in --- .github/workflows/codespell.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/codespell.yml diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 00000000..5768d7c6 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,19 @@ +--- +name: Codespell + +on: + push: + branches: [master] + pull_request: + branches: [master] + +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@v1