Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codespell: fix typo, add config and github action to not let other typos sneak in #695

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[codespell]
skip = .git,UTF-8-demo.txt
19 changes: 19 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -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
12 changes: 6 additions & 6 deletions httpbin/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down Expand Up @@ -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.
"""
Expand All @@ -1011,7 +1011,7 @@ def bearer_auth():
- application/json
responses:
200:
description: Sucessful authentication.
description: Successful authentication.
401:
description: Unsuccessful authentication.
"""
Expand Down Expand Up @@ -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.
"""
Expand Down Expand Up @@ -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.
"""
Expand Down Expand Up @@ -1121,7 +1121,7 @@ def digest_auth(
- application/json
responses:
200:
description: Sucessful authentication.
description: Successful authentication.
401:
description: Unsuccessful authentication.
"""
Expand Down