rlmgrep 0.1.15__tar.gz → 0.1.16__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/PKG-INFO +1 -1
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/pyproject.toml +1 -1
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/rlmgrep/__init__.py +1 -1
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/rlmgrep/ingest.py +17 -1
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/rlmgrep.egg-info/PKG-INFO +1 -1
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/README.md +0 -0
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/rlmgrep/__main__.py +0 -0
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/rlmgrep/cli.py +0 -0
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/rlmgrep/config.py +0 -0
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/rlmgrep/file_map.py +0 -0
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/rlmgrep/interpreter.py +0 -0
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/rlmgrep/render.py +0 -0
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/rlmgrep/rlm.py +0 -0
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/rlmgrep.egg-info/SOURCES.txt +0 -0
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/rlmgrep.egg-info/dependency_links.txt +0 -0
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/rlmgrep.egg-info/entry_points.txt +0 -0
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/rlmgrep.egg-info/requires.txt +0 -0
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/rlmgrep.egg-info/top_level.txt +0 -0
- {rlmgrep-0.1.15 → rlmgrep-0.1.16}/setup.cfg +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
__all__ = ["__version__"]
|
|
2
|
-
__version__ = "0.1.
|
|
2
|
+
__version__ = "0.1.16"
|
|
@@ -220,16 +220,32 @@ def build_ignore_spec(
|
|
|
220
220
|
escaped = True
|
|
221
221
|
if not escaped and line.startswith("#"):
|
|
222
222
|
continue
|
|
223
|
+
|
|
223
224
|
negated = False
|
|
224
225
|
if not escaped and line.startswith("!"):
|
|
225
226
|
negated = True
|
|
226
227
|
line = line[1:]
|
|
227
228
|
if not line:
|
|
228
229
|
continue
|
|
230
|
+
|
|
231
|
+
anchored = False
|
|
229
232
|
if line.startswith("/"):
|
|
233
|
+
anchored = True
|
|
230
234
|
line = line[1:]
|
|
235
|
+
if not line:
|
|
236
|
+
continue
|
|
237
|
+
|
|
231
238
|
if rel_dir:
|
|
232
|
-
|
|
239
|
+
if anchored:
|
|
240
|
+
line = f"{rel_dir}/{line}"
|
|
241
|
+
elif "/" in line:
|
|
242
|
+
line = f"{rel_dir}/{line}"
|
|
243
|
+
else:
|
|
244
|
+
line = f"{rel_dir}/**/{line}"
|
|
245
|
+
else:
|
|
246
|
+
if anchored:
|
|
247
|
+
line = f"/{line}"
|
|
248
|
+
|
|
233
249
|
if negated:
|
|
234
250
|
line = "!" + line
|
|
235
251
|
patterns.append(line)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|