style: format with ruff
This commit is contained in:
1 parent
13bddd43c7
commit
b0863e5ddb
181 files changed
+2237
-5272
No files matched your search
@@ -99,15 +99,10 @@ def main(argv=None):
|
||||
help="Key pattern for SCAN (e.g., 'user:*'). If omitted, all keys are scanned.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--scan-count",
|
||||
type=int,
|
||||
default=1000,
|
||||
help="Hint for SCAN per iteration (not a limit).",
|
||||
"--scan-count", type=int, default=1000, help="Hint for SCAN per iteration (not a limit)."
|
||||
)
|
||||
parser.add_argument(
|
||||
"--include-ttl",
|
||||
action="store_true",
|
||||
help="Include TTL (seconds) for each key.",
|
||||
"--include-ttl", action="store_true", help="Include TTL (seconds) for each key."
|
||||
)
|
||||
|
||||
args = parser.parse_args(argv)
|
||||
@@ -125,4 +120,4 @@ def main(argv=None):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
sys.exit(main())
|
||||
Reference in new issue
Block a user