File tree Expand file tree Collapse file tree 5 files changed +14
-6
lines changed Expand file tree Collapse file tree 5 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 22 - repo : https://github.com/astral-sh/ruff-pre-commit
33 rev : fa1ed65ba95bfa7771a71003a9d74402541f5a5c # frozen: v0.14.6
44 hooks :
5- - id : ruff
5+ - id : ruff-check
66 - id : ruff-format
77 - repo : https://github.com/astral-sh/uv-pre-commit
88 rev : 016d6d8dbc18eb9cc42594297fa8af0c79f6df72 # frozen: 0.9.12
@@ -16,3 +16,11 @@ repos:
1616 - id : fix-byte-order-marker
1717 - id : trailing-whitespace
1818 - id : end-of-file-fixer
19+ - repo : https://github.com/codespell-project/codespell
20+ rev : 63c8f8312b7559622c0d82815639671ae42132ac # frozen: v2.4.1
21+ hooks :
22+ - id : codespell
23+ args :
24+ - --ignore-words-list=fo,te,worl
25+ additional_dependencies :
26+ - tomli
Original file line number Diff line number Diff line change 11This directory contains modules that have code but that are
2- not excutable . For example routing definitions to play around
2+ not executable . For example routing definitions to play around
33in the python interactive prompt.
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ class Map:
8080 The ``encoding_errors`` and ``host_matching`` parameters were added.
8181
8282 .. versionchanged:: 0.5
83- The ``sort_parameters`` and ``sort_key`` paramters were added.
83+ The ``sort_parameters`` and ``sort_key`` parameters were added.
8484 """
8585
8686 #: A dict of default converters to be used.
Original file line number Diff line number Diff line change @@ -894,7 +894,7 @@ def app(request):
894894
895895
896896def no_response_headers_app (environ , start_response ):
897- """A WSGI application which returns a resposne with no headers."""
897+ """A WSGI application which returns a response with no headers."""
898898 response = Response ("Response" )
899899 response .headers .clear ()
900900 return response (environ , start_response )
Original file line number Diff line number Diff line change @@ -538,7 +538,7 @@ def test_etag_response():
538538 assert resp .status_code == 304
539539 assert "content-length" not in resp .headers
540540
541- # make sure date is not overriden
541+ # make sure date is not overridden
542542 response = wrappers .Response ("Hello World" )
543543 response .date = 1337
544544 d = response .date
@@ -582,7 +582,7 @@ def test_etag_response_412():
582582 # Make sure there is a body still
583583 assert resp .data != b""
584584
585- # make sure date is not overriden
585+ # make sure date is not overridden
586586 response = wrappers .Response ("Hello World" )
587587 response .date = 1337
588588 d = response .date
You can’t perform that action at this time.
0 commit comments