Skip to content

Commit 26988a1

Browse files
authored
avoid lint error with Python 3.12
1 parent 7a4e0c4 commit 26988a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pioinstaller/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def _onerror(func, path, __):
6868
os.chmod(path, st_mode | stat.S_IWRITE)
6969
func(path)
7070

71-
return shutil.rmtree(path, onerror=_onerror)
71+
return shutil.rmtree(path, onerror=_onerror) # pylint: disable=deprecated-argument
7272

7373

7474
def find_file(name, path):

0 commit comments

Comments
 (0)