We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 413b0e8 commit efd1abfCopy full SHA for efd1abf
2 files changed
pyproject.toml
@@ -53,6 +53,7 @@ module = [
53
"ruamel.yaml",
54
"lxml",
55
"lxml.html",
56
+ "tiktoken",
57
]
58
ignore_missing_imports = true
59
src/treemapper/ignore.py
@@ -187,7 +187,8 @@ def get_ignore_specs(
187
logging.debug(f"Adding output file to ignores: {output_pattern}")
188
189
logging.debug(f"Combined ignore patterns: {patterns}")
190
- return pathspec.PathSpec.from_lines("gitwildmatch", patterns)
+ spec: pathspec.PathSpec = pathspec.PathSpec.from_lines("gitwildmatch", patterns)
191
+ return spec
192
193
194
def should_ignore(relative_path_str: str, combined_spec: pathspec.PathSpec) -> bool:
0 commit comments