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: >
15
15
)$
16
16
repos :
17
17
- repo : https://github.com/renovatebot/pre-commit-hooks
18
- rev : 41.99.7
18
+ rev : 41.113.0
19
19
hooks :
20
20
- id : renovate-config-validator
21
21
alias : renovate
56
56
- id : tox-ini-fmt
57
57
58
58
- repo : https://github.com/astral-sh/ruff-pre-commit
59
- rev : " v0.12.12 "
59
+ rev : " v0.13.0 "
60
60
hooks :
61
61
- id : ruff
62
62
entry : sh -c 'ruff check --fix --force-exclude && ruff format --force-exclude'
@@ -169,7 +169,7 @@ repos:
169
169
- id : pyupgrade
170
170
args : ["--py310-plus"]
171
171
- repo : https://github.com/pre-commit/mirrors-mypy.git
172
- rev : v1.17 .1
172
+ rev : v1.18 .1
173
173
hooks :
174
174
- id : mypy
175
175
additional_dependencies :
Original file line number Diff line number Diff line change 8
8
TValue_co = TypeVar ("TValue_co" , covariant = True )
9
9
10
10
11
- class Indexable (Generic [TKey_contra , TValue_co ], Protocol ):
11
+ class Indexable (Generic [TKey_contra , TValue_co ], Protocol ): # noqa: PYI059
12
12
def __getitem__ (self , key : TKey_contra ) -> TValue_co :
13
13
"""Get the value associated with the given key.
14
14
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ def copytree(
248
248
try :
249
249
if symlinks and source_path .is_symlink ():
250
250
source_link = source_path .readlink ()
251
- os . symlink (source_link , destination_path )
251
+ Path ( destination_path ). symlink_to (source_link )
252
252
elif source_path .is_dir ():
253
253
copytree (
254
254
source_path ,
You can’t perform that action at this time.
0 commit comments