Mohamed Elsabagh

Results 14 comments of Mohamed Elsabagh

The problem seems to impact other languages too. I am getting the same error on the attached [akp.java.txt](https://github.com/returntocorp/semgrep/files/10042566/akp.java.txt) Java file with Semgrep 0.122.0 on macOS 12.4 x86. The file ends...

Thanks @kopecs. I will open a new issue. I am happy to provide more debugging information (`--debug` doesn't yield much in this case). How do I go about doing that?

Until this is fixed, you could use the following dirty hack to suppress these: ```python def _print(*args, **kwargs): args = [arg for arg in args if not isinstance(arg, str) or...

FWIW, I tend to use the following custom decorator to get this behavior: ```python import functools import inspect import typeguard def typechecked(func): __annotations__ = getattr(func, '__annotations__', None) if __annotations__: __signature__...

The way Fire handles `--` is indeed odd. GNU uses a bare double-dash to indicate the end of options and the beginning of positionals. POSIX also mentions this in their...

> 2. Rework wildcard matching. Use syntax from glob module, i.e. always the '?' marks "any character". It will require a bit of parsing, but the current solution is silly...

I submitted a PR at https://github.com/WojciechMula/pyahocorasick/pull/171

Updating the ISO isn't necessary. You can set the resolution via Grub: 1. Boot from USB. 2. Press `c` at the "Try or install elementary OS" screen. This should drop...

I think part of the problem here is that `-a` requires disambiguation so that Fire can tell whether it's supposed to be treated as a positional argument or an option....

I am experiencing this as well. I think a quick fix is to write `out.warn` messages to `stderr` instead of `stdout`.