Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
reinout committed Oct 10, 2024
1 parent bc32cfa commit 174c178
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shell/README.rst
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ Source code::


def confirm(file_):
s = raw_input("%s? " % file_)
s = input(f"{file_}? ")
return s and s[0] == "y"


@@ -104,11 +104,11 @@ Source code::
sys.exit()


def main():
def main(): # noqa: C901
try:
opts, args = getopt.getopt(sys.argv[1:], "fniuvdc")
args[0]
except:
except: # noqa: E722
usage()
force = 0
noaction = 0

0 comments on commit 174c178

Please sign in to comment.