Amol Kapoor

Results 37 issues of Amol Kapoor

Running pip-extra-reqs inside a virtual env resulted in every package being displayed as extraneous. I dug around a bit in the code and found that [this if statement](https://github.com/r1chardj0n3s/pip-check-reqs/blob/master/pip_check_reqs/find_extra_reqs.py#L65) is never...

missing-information

Previously, find_extra_reqs would concatenate the package_location with the file_location for a library import. This fails when using a virtualenv, because the package_location and the file_location end up sharing paths. This...

If I have two files, like so: test.py ```python from typing import TypedDict import test2 class Foo(TypedDict, total=False): x: int y: int x: Foo = {'x': 1} x: test2.Foo =...

bug
cat: stubs and 3p

I have two TypedDicts. They share the same fields, except the second one has a few extra fields. I want to create a function that works on the former, that...

bug
cat: core

Hey folks, I'm getting some very inconsistent behavior with the following code: ```python from __future__ import annotations from typing import Callable, Generic, TypeVar from typing_extensions import TypedDict T = TypeVar('T')...

bug
cat: generics

I've been running into a really strange bug: ``` FAILED: /home/soot/code/soot/experimental/amol/pytype-circular-import/.pytype/pyi/persistence/__init__.pyi /home/soot/code/soot/experimental/amol/pytype-circular-import/env/bin/python3 -m pytype.single --imports_info /home/soot/code/soot/experimental/amol/pytype-circular-import/.pytype/imports/persistence.__init__.imports --module-name persistence.__init__ -V 3.8 -o /home/soot/code/soot/experimental/amol/pytype-circular-import/.pytype/pyi/persistence/__init__.pyi --analyze-annotated --nofail --quick /home/soot/code/soot/experimental/amol/pytype-circular-import/src/persistence/__init__.py File "/home/soot/code/soot/experimental/amol/pytype-circular-import/src/persistence/__init__.py", line 5,...

bug
cat: infrastructure

This is sort of an obscure use case, but I'm wondering if pytype supports this. I have a worker library that contains functions like: ``` registry = {} def foo(arg1:...

enhancement
cat: core

In mypy there is a technique to implement exhaustiveness checking using the NoReturn type. The short version is that you can create a 'magic' function like so: ``` def assert_never(value:...

enhancement
cat: control flow

Thanks for this project! I was curious what the current state of the art is for open sourced versions of DALL-E (or DALL-E 2). The links on the [models repo](https://github.com/robvanvolt/DALLE-models/tree/main/models/taming_transformer)...

Hey, thanks for the great library! I've been getting some weird issues. First, if target isn't set, it looks like theres a dependency on a lib called prime that doesn't...