浏览代码

mypy: remove unused "type: ignore" comment

Fabian Peter Hammerle 1 年之前
父节点
当前提交
b1302c5413
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      free_disk/__init__.py

+ 1 - 1
free_disk/__init__.py

@@ -46,7 +46,7 @@ def _main() -> None:
     argparser.add_argument(
         "--delete-path-regex",
         metavar="REGULAR_EXPRESSION",
-        type=re.compile,  # type: ignore
+        type=re.compile,
         help="Only delete files with path matching regular expression (at any position)."
         " Paths will not be resolved or made absolute before check."
         r" Examples: \.mp4$ or ^/tmp/\d or ^rel/ative/ (default: no filter)",