File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/ansible_navigator/tm_tokenize Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ exclude: >
1515 )$
1616repos :
1717 - repo : https://github.com/renovatebot/pre-commit-hooks
18- rev : 41.99.7
18+ rev : 41.113.0
1919 hooks :
2020 - id : renovate-config-validator
2121 alias : renovate
5656 - id : tox-ini-fmt
5757
5858 - repo : https://github.com/astral-sh/ruff-pre-commit
59- rev : " v0.12.12 "
59+ rev : " v0.13.0 "
6060 hooks :
6161 - id : ruff
6262 entry : sh -c 'ruff check --fix --force-exclude && ruff format --force-exclude'
@@ -169,7 +169,7 @@ repos:
169169 - id : pyupgrade
170170 args : ["--py310-plus"]
171171 - repo : https://github.com/pre-commit/mirrors-mypy.git
172- rev : v1.17 .1
172+ rev : v1.18 .1
173173 hooks :
174174 - id : mypy
175175 additional_dependencies :
Original file line number Diff line number Diff line change 88TValue_co = TypeVar ("TValue_co" , covariant = True )
99
1010
11- class Indexable (Generic [TKey_contra , TValue_co ], Protocol ):
11+ class Indexable (Generic [TKey_contra , TValue_co ], Protocol ): # noqa: PYI059
1212 def __getitem__ (self , key : TKey_contra ) -> TValue_co :
1313 """Get the value associated with the given key.
1414
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ def copytree(
248248 try :
249249 if symlinks and source_path .is_symlink ():
250250 source_link = source_path .readlink ()
251- os . symlink (source_link , destination_path )
251+ Path ( destination_path ). symlink_to (source_link )
252252 elif source_path .is_dir ():
253253 copytree (
254254 source_path ,
You can’t perform that action at this time.
0 commit comments