kopia lustrzana https://github.com/simonw/datasette
				
				
				
			Run codespell against datasette source code too, refs #1417
							rodzic
							
								
									2208c3c68e
								
							
						
					
					
						commit
						cd8b7bee8f
					
				|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Simon Willison
						Simon Willison