-
### Steps to reproduce
```
import astroid
code = """
class Test:
def __getitem__(self, key):
if key == 1:
return 42
else:
return None
x = Test()
result = x[42] …
-
### Bug description
When parsing the following [`utils.py`](https://github.com/4nds/pylint-quotes/blob/c9aae00800289e7bf89a13ba81950334aff5668f/example/foo/utils.py):
```python
"""Utilities for…
4nds updated
9 months ago
-
ERROR: astroid 2.3.1 requires typed-ast=1.4.0; implementation_name == "cpython" and python_version < "3.8", which is not installed.
ERROR: astroid 2.3.1 has requirement six==1.12, but you'll have six…
-
I am adding support for astroid in home-manager https://github.com/rycee/home-manager/pull/408 (i.e., home-manager will generate astroid config file).
My first approach was to copy the default config…
-
This is what I see when I use popup as email field template, when I select slidedown I see contact form, but I do not like that option cause after sending email via slidedown then I see empty box on a…
-
### Steps to reproduce
1. Register module extender for a module that already has one (e.g. from built-in astroid brain).
File `brain_numpy_core_numerictypes.py`:
```
import astroid
def numpy_…
-
Context: @tristanlatr opened issues lately after trying to replace ``ast`` by ``astroid`` in their project. And we're not experienced enough with astroid to decide if we should add [astroid's version …
-
As of today I'm not able to build astroid or astroid-git on archlinux.
Both packages fail on TestCompose test
```
==> Starting check()...
Test project /home/eon/.cache/yay/astroid/src/astroid-…
-
### Steps to reproduce
```python
import astroid
func_node = astroid.extract_node("""
class Test:
def test():
return
class TestParent:
def __init__(self, test: Test):
…
-
I create my icons at —> https://realfavicongenerator.net/
• I insert the files generated in a sub-folder to the root (e.g. “my-favicon”) with the “site.webmanifest” file and all images in.
![Scr…