File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/psf/black
3- rev : 22.3 .0
3+ rev : 25.9 .0
44 hooks :
55 - id : black
66 args : ["--target-version", "py37"]
1313 hooks :
1414 - id : isort
1515 - repo : https://github.com/pre-commit/mirrors-mypy
16- rev : v0.910
16+ rev : v1.18.2
1717 hooks :
1818 - id : mypy
1919 args : ["--strict"]
Original file line number Diff line number Diff line change 5353 from typing import TypedDict
5454except ImportError :
5555 # Python 3.7
56- TypedDict = dict
56+ TypedDict = dict # type: ignore[assignment]
5757
5858__version__ = "1.9.0"
5959
Original file line number Diff line number Diff line change @@ -2241,16 +2241,16 @@ def test_kv_21_single_quoted_word_with_double_quote(self) -> None:
22412241
22422242 def test_kv_22_quoted_unicode_wordchar (self ) -> None :
22432243 # "wordchar" means it is in the shlex.wordchars variable.
2244- props = self ._get_props ('KEY="wordchar: \u00CA (E accent grave)"\n ' )
2245- assert props .get ("key" , None ) == "wordchar: \u00CA (E accent grave)"
2244+ props = self ._get_props ('KEY="wordchar: \u00ca (E accent grave)"\n ' )
2245+ assert props .get ("key" , None ) == "wordchar: \u00ca (E accent grave)"
22462246
22472247 def test_kv_23_quoted_unicode_non_wordchar (self ) -> None :
22482248 # "non-wordchar" means it is not in the shlex.wordchars variable.
22492249 props = self ._get_props (
2250- 'KEY="non-wordchar: \u00A1 (inverted exclamation mark)"\n '
2250+ 'KEY="non-wordchar: \u00a1 (inverted exclamation mark)"\n '
22512251 )
22522252 assert (
2253- props .get ("key" , None ) == "non-wordchar: \u00A1 (inverted exclamation mark)"
2253+ props .get ("key" , None ) == "non-wordchar: \u00a1 (inverted exclamation mark)"
22542254 )
22552255
22562256 def test_kv_24_double_quoted_entire_single_quoted_word (self ) -> None :
You can’t perform that action at this time.
0 commit comments