Eric Nielsen

Results 168 comments of Eric Nielsen

Users will only get the N810 error if they're importing a package or module with a non-lowercase alias name with the `import ... as ...` syntax specifically, which can only...

Hi. Can we have a second look at this? Maybe I didn't express myself well before. The goal is to check the PEP 8 [package and module names](https://peps.python.org/pep-0008/#package-and-module-names) convention is...

pip has the --require-virtualenv option which makes it behave like uv: ``` $ pip install --require-virtualenv attrs ERROR: Could not find an activated virtualenv (required). ``` but --no-require-virtualenv seems too...

To solve the type checking, there's a solution for this already in https://pypi.org/project/boto3-stubs and the boto organization is working on https://github.com/boto/botostubs These only solve for checking with type checkers like...

Right @jmgreg31, mypy won't complain if you access an item from a non-total `TypedDict` with `[]`: > You may need to use [`get()`](https://docs.python.org/3/library/stdtypes.html#dict.get) to access items of a partial (non-total)...

A cool feature of https://pypi.org/project/boto3-stubs is that you can use it as a dev dependency only and deploy your code without it. Just install it during the linting phase. This...

> Yea, it does. A workaround for new is to `brew reinstall cairo graphene`. But we should handle this properly. I replaced doing: ```shell $ brew upgrade --formula --ignore-pinned ```...

Updated the issue description. It was initially reported using mypy version 0.971 and it's still present in mypy 1.4.1.

> Random question but how do I cd by index/number? You should probably file a new issue with your question, to avoid non-related discussions here. Short answer: this is not...