[Bug]: Missing FURB151 (Path(x).touch()
) when separating open() and close()
#326
Labels
bug
Something isn't working
Path(x).touch()
) when separating open() and close()
#326
Has your issue already been fixed?
master
branch? See the docs for instructions on how to setup a local build of Refurb.The Bug
The following code:
Does not emit the Path.touch() warning for lines 8-9. It only warns for line 12.
Version Info
Python Version
Python 3.11.7
Config File
# N/A
Extra Info
None
The text was updated successfully, but these errors were encountered: