Run codespell against datasette source code too, refs #1417

codespell
Simon Willison 2021-08-03 10:03:08 -07:00
rodzic 532170fc60
commit e5ae21ad68
2 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -22,4 +22,6 @@ jobs:
run: |
pip install -e '.[docs]'
- name: Check spelling
run: codespell docs/*.rst --ignore-words docs/codespell-ignore-words.txt
run: |
codespell docs/*.rst --ignore-words docs/codespell-ignore-words.txt
codespell datasette -S datasette/static --ignore-words docs/codespell-ignore-words.txt

Wyświetl plik

@ -86,12 +86,12 @@ def actor_from_request(datasette, request):
@hookspec
def permission_allowed(datasette, actor, action, resource):
"""Check if actor is allowed to perfom this action - return True, False or None"""
"""Check if actor is allowed to perform this action - return True, False or None"""
@hookspec
def canned_queries(datasette, database, actor):
"""Return a dictonary of canned query definitions or an awaitable function that returns them"""
"""Return a dictionary of canned query definitions or an awaitable function that returns them"""
@hookspec