We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 083b860 commit 60cc71aCopy full SHA for 60cc71a
extliner/cli.py
@@ -2,9 +2,11 @@
2
from pathlib import Path
3
from tabulate import tabulate
4
5
+# import sys
6
+# # apend the parent directory to sys.path to import LineCounter
7
+# sys.path.append(str(Path(__file__).resolve().parent.parent))
8
from extliner.main import LineCounter
9
-
10
def main():
11
parser = argparse.ArgumentParser(
12
description="📦 Count lines in files grouped by extension (with/without empty lines)."
extliner/main.py
@@ -18,7 +18,10 @@
18
"application/yaml",
19
"application/x-yaml",
20
"application/atom+xml",
21
- "application/rss+xml"
+ "application/rss+xml",
22
+ "application/x-msdos-program",
23
+ "application/pgp-keys"
24
+
25
}
26
27
def is_text_mimetype(path: str) -> bool:
0 commit comments