File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ select = [
183
183
" T201" ,
184
184
" T203" ,
185
185
# misuse of typing.TYPE_CHECKING
186
- " TCH004 " ,
186
+ " TC004 " ,
187
187
# import rules
188
188
" TID251" ,
189
189
]
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ requests-toolbelt==1.0.0
98
98
# via openlayer
99
99
respx==0.22.0
100
100
rich==13.7.1
101
- ruff==0.6.9
101
+ ruff==0.9.4
102
102
setuptools==68.2.2
103
103
# via nodeenv
104
104
six==1.16.0
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def _md_match(match: Match[str]) -> str:
47
47
with _collect_error (match ):
48
48
code = format_code_block (code )
49
49
code = textwrap .indent (code , match ["indent" ])
50
- return f' { match [" before" ]} { code } { match [" after" ] } '
50
+ return f" { match [' before' ]} { code } { match [' after' ] } "
51
51
52
52
def _pycon_match (match : Match [str ]) -> str :
53
53
code = ""
@@ -97,7 +97,7 @@ def finish_fragment() -> None:
97
97
def _md_pycon_match (match : Match [str ]) -> str :
98
98
code = _pycon_match (match )
99
99
code = textwrap .indent (code , match ["indent" ])
100
- return f' { match [" before" ]} { code } { match [" after" ] } '
100
+ return f" { match [' before' ]} { code } { match [' after' ] } "
101
101
102
102
src = MD_RE .sub (_md_match , src )
103
103
src = MD_PYCON_RE .sub (_md_pycon_match , src )
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ def to_json(
172
172
@override
173
173
def __str__ (self ) -> str :
174
174
# mypy complains about an invalid self arg
175
- return f' { self .__repr_name__ ()} ({ self .__repr_str__ (", " )} )' # type: ignore[misc]
175
+ return f" { self .__repr_name__ ()} ({ self .__repr_str__ (', ' )} )" # type: ignore[misc]
176
176
177
177
# Override the 'construct' method in a way that supports recursive parsing without validation.
178
178
# Based on https://github.com/samuelcolvin/pydantic/issues/1168#issuecomment-817742836.
You can’t perform that action at this time.
0 commit comments