Andy Freeland

Results 36 issues of Andy Freeland

### Problem I'm trying to run all of the tests for the file I'm currently editing, but `cargo test` currently has no way to do this. For unit tests, you...

C-feature-request

**Describe the bug** I'm seeing extremely slow performance inserting `([` around line 150 in a ~1600 line file. It takes ~20 seconds for the `[` to insert. 😵 **Steps to...

bug
help wanted

Hi, I'm seeing different behavior with `get_origin(typing.List)` and `get_origin(list)`: ``` [ins] In [1]: from typing_extensions import get_origin [ins] In [2]: import typing [ins] In [3]: get_origin(list[int]) Out[3]: list [ins] In...

Any chance you could publish a new release? I noticed master contains additional support for Python 3.10 features like `types.UnionType`.

**Describe the bug** Python's `match` statement is not supported and causes semgrep to completely fail to parse the file. **To Reproduce** https://semgrep.dev/s/oLz9 **Expected behavior** I expect the file to parse...

lang:python
priority:high
fixed-in-tree-sitter-grammar
parsing

Running pytest-cov with xdist (`py.test -n auto --cov --cov-report=html`) shows a warning at the end of the test run (`Coverage.py warning: No data was collected`) and reports 26431/73593 covered statements...

I have `CARGO_TARGET_DIR` set to `~/tmp/rust-builds`, which builds all of my projects in one directory. When reporting coverage with `cargo llvm-cov`, it reports coverage for all of my projects rather...

C-bug
C-enhancement
help wanted

`find` on macOS doesn't support `-printf`. See also https://github.com/conda/conda/pull/7575. I suspect this is the case on [FreeBSD][] and [OpenBSD][] as well. [FreeBSD]: https://www.freebsd.org/cgi/man.cgi?find(1) [OpenBSD]: https://man.openbsd.org/find.1 Extracted from #63.

This patch removes the `enum-compat` dependency and replaces it with a conditional dependency on `enum34`. This is all the `enum-compat` package does: https://github.com/jstasiak/enum-compat/blob/ae41cfa712e837596f7d26a5283be40ec5b84084/setup.py#L43