Browse Source

mypy: remove unused "type: ignore" comment

Fabian Peter Hammerle 4 months ago
parent
commit
b1302c5413
1 changed files with 1 additions and 1 deletions
  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)",