425 shutil.make_archive(release_dir, archive_type, root_dir="releases", base_dir=release_name)
426
427
428def sass(minify=False, watch=False):429 npm_cmd = "npm --prefix frontend/ run"
430 if watch:
431 npm_cmd += " watch-sass"
An unused argument can lead to confusions. It should be removed. If this variable is necessary, name the variable _
or start the name with unused
or _unused
.
def square(x, y=1):
return x * x
class MySubClass(MyClass):
def __init__(self, number):
self.value = 42 # argument `number` remains unused
def square(x):
return x * x
class MySubClass(MyClass):
def __init__(self, _):
self.value = 42