Dataset Viewer
Auto-converted to Parquet Duplicate
all_hints_text
string
base_commit
string
commit_urls
list
created_at
timestamp[s]
hints_text
string
instance_id
string
issue_numbers
list
language
string
patch
string
problem_statement
string
pull_number
string
repo
string
test_patch
string
version
string
FAIL_TO_PASS
list
PASS_TO_PASS
list
test_cmds
list
log_parser
string
difficulty
dict
Makes sense. This happens because the inference for functions looks through each return value here (https://github.com/PyCQA/astroid/blob/629c92db2dc1b016f4bf47645c95c42e65fd3bd6/astroid/scoped_nodes.py#L1558) and tries to infer the result from there. But since functions like this don't have an explicit return value...
53a20335357bbd734d74c3bfe22e3518f74f4d11
[ "https://github.com/pylint-dev/astroid/commit/4a53ef4b151ace595608b5b5e6008b7b17914a80", "https://github.com/pylint-dev/astroid/commit/38297611b6ebf32cd7722cce3074ce8fccccb490", "https://github.com/pylint-dev/astroid/commit/826d0e95fd6800fff5f32f66e911b0a30dbfa982", "https://github.com/pylint-dev/astroid/comm...
2021-05-01T03:28:27
Makes sense. This happens because the inference for functions looks through each return value here (https://github.com/PyCQA/astroid/blob/629c92db2dc1b016f4bf47645c95c42e65fd3bd6/astroid/scoped_nodes.py#L1558) and tries to infer the result from there. But since functions like this don't have an explicit return value...
pylint-dev__astroid-983
[ "485" ]
python
diff --git a/ChangeLog b/ChangeLog index c606b76106..8ba9ea37bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -45,6 +45,11 @@ Release Date: TBA Closes #904 +* Allow inferring a return value of None for non-abstract empty functions and + functions with no return statements (implicitly returning None) + + Closes #48...
Cannot infer empty functions ### Steps to reproduce ```python import astroid astroid.extract_node(""" def f(): pass f() """).inferred() ``` ### Current behavior raises `StopIteration` ### Expected behavior Returns `[const.NoneType]` ### ``python -c "from astroid import __pkginfo__; print(__pkginfo_...
983
pylint-dev/astroid
diff --git a/tests/unittest_inference.py b/tests/unittest_inference.py index 6b9f4c0609..2e88891637 100644 --- a/tests/unittest_inference.py +++ b/tests/unittest_inference.py @@ -706,14 +706,6 @@ class InvalidGetitem2(object): NoGetitem()[4] #@ InvalidGetitem()[5] #@ InvalidGetitem2()[10] #@ ...
none
[ "tests/unittest_scoped_nodes.py::FunctionNodeTest::test_abstract_methods_are_not_implicitly_none", "tests/unittest_scoped_nodes.py::FunctionNodeTest::test_no_returns_is_implicitly_none", "tests/unittest_scoped_nodes.py::FunctionNodeTest::test_only_raises_is_not_implicitly_none" ]
[ "tests/unittest_inference.py::InferenceUtilsTest::test_path_wrapper", "tests/unittest_inference.py::InferenceTest::test__new__", "tests/unittest_inference.py::InferenceTest::test__new__bound_methods", "tests/unittest_inference.py::InferenceTest::test_advanced_tupleassign_name_inference1", "tests/unittest_in...
[ "pytest -rA tests/" ]
pytest
{ "files": 3, "hunks": 5, "lines": 23 }
Some notes: - The `ModuleNotFoundError` exception is thrown by `importlib.util.find_spec`. Before python 3.7 this was an `AttributeError` - `modutils.is_relative()` is the call-site for the `find_spec` call - It seems that `is_ralative()` is trying to find a parent mod-spec for the anchor `from_file` parameter so ...
d2394a3e24236106355418e102b1bb0f1bef879c
[ "https://github.com/pylint-dev/astroid/commit/86edd7d157592d84853dece3122507cb303b326d", "https://github.com/pylint-dev/astroid/commit/6b4b4a1f7349062782999342b8ca43f95fe37f59", "https://github.com/pylint-dev/astroid/commit/d2a72366b4cd6699a8a5828dbc75f6694b07e058", "https://github.com/pylint-dev/astroid/comm...
2021-05-01T16:13:04
Some notes: - The `ModuleNotFoundError` exception is thrown by `importlib.util.find_spec`. Before python 3.7 this was an `AttributeError` - `modutils.is_relative()` is the call-site for the `find_spec` call - It seems that `is_ralative()` is trying to find a parent mod-spec for the anchor `from_file` parameter so ...
pylint-dev__astroid-984
[ "930" ]
python
diff --git a/ChangeLog b/ChangeLog index 8ba9ea37bb..3252b48719 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,10 @@ What's New in astroid 2.6.0? ============================ Release Date: TBA +* Fix detection of relative imports. + Closes #930 + Closes PyCQA/pylint#4186 + * Fix inference of instance attribut...
Pyreverse regression after #857 (astroid 2.5) ### Steps to reproduce 1. Checkout pylint's source (which contains pyreverse) 1. cd `<pylint checkout>` 2. Run `source .tox/py39/bin/activate` or similar (you may need to run a tox session first) 3. Ensure you have `astroid` ac2b173bc8acd2d08f6b6ffe29dd8cda0b2c8814 or ...
984
pylint-dev/astroid
diff --git a/tests/unittest_modutils.py b/tests/unittest_modutils.py index 958659f542..248a88cdb9 100644 --- a/tests/unittest_modutils.py +++ b/tests/unittest_modutils.py @@ -301,6 +301,18 @@ def test_knownValues_is_relative_1(self): def test_knownValues_is_relative_3(self): self.assertFalse(modutils.is_r...
none
[ "tests/unittest_modutils.py::IsRelativeTest::test_knownValues_is_relative_4", "tests/unittest_modutils.py::IsRelativeTest::test_knownValues_is_relative_5" ]
[ "tests/unittest_modutils.py::ModuleFileTest::test_find_egg_module", "tests/unittest_modutils.py::ModuleFileTest::test_find_zipped_module", "tests/unittest_modutils.py::LoadModuleFromNameTest::test_knownValues_load_module_from_name_1", "tests/unittest_modutils.py::LoadModuleFromNameTest::test_knownValues_load_...
[ "pytest -rA" ]
pytest
{ "files": 4, "hunks": 6, "lines": 37 }
Minimal case: ```python class Example: def func(self): pass whatthe = object() whatthe.func = None ex = Example() ex.func() # false-positive: not-callable ``` Not caused by 78d5537, just revealed by it. `typing` imported `collections`, `collections.OrderedDict` had an ambiguously inferred...
2c109eec6fe3f972c6e8c637fe956431a0d7685c
[ "https://github.com/pylint-dev/astroid/commit/957c832d049708d5e3a8e47c13231afe38914b39", "https://github.com/pylint-dev/astroid/commit/09558a0743c6130b472f6b4ea1c2a44fdb5a3e77", "https://github.com/pylint-dev/astroid/commit/5b9916b67c4d75b3ed4d33c1eb93f4197da0d16c", "https://github.com/pylint-dev/astroid/comm...
2021-04-13T12:30:06
Minimal case: ```python class Example: def func(self): pass whatthe = object() whatthe.func = None ex = Example() ex.func() # false-positive: not-callable ``` Not caused by 78d5537, just revealed by it. `typing` imported `collections`, `collections.OrderedDict` had an ambiguously inferred...
pylint-dev__astroid-946
[ "945" ]
python
diff --git a/ChangeLog b/ChangeLog index b4af947daa..12fae5ceab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,15 @@ What's New in astroid 2.6.0? ============================ Release Date: TBA +* Do not set instance attributes on builtin object() + + Closes #945 + Closes PyCQA/pylint#4232 + Closes PyCQA/pylint#4...
Delayed attribute assignment to object() may cause incorrect inference of instance attributes @cdce8p: `aiohttp` and `VLCTelnet` turned out to be red herrings. This case fails on current stable versions: ```python class Example: def prev(self): pass def next(self): pass def other(se...
946
pylint-dev/astroid
diff --git a/tests/unittest_builder.py b/tests/unittest_builder.py index a48d341999..ce9abf9af0 100644 --- a/tests/unittest_builder.py +++ b/tests/unittest_builder.py @@ -28,7 +28,7 @@ import pytest -from astroid import builder, exceptions, manager, nodes, test_utils, util +from astroid import Instance, builder, e...
none
[ "tests/unittest_builder.py::BuilderTest::test_infer_can_assign_no_classdict" ]
[ "tests/unittest_builder.py::FromToLineNoTest::test_callfunc_lineno", "tests/unittest_builder.py::FromToLineNoTest::test_class_lineno", "tests/unittest_builder.py::FromToLineNoTest::test_decorated_function_lineno", "tests/unittest_builder.py::FromToLineNoTest::test_for_while_lineno", "tests/unittest_builder....
[ "pytest -rA tests" ]
pytest
{ "files": 2, "hunks": 2, "lines": 11 }
Looks like this is caused by https://github.com/PyCQA/astroid/blob/f2b197a4f8af0ceeddf435747a5c937c8632872a/astroid/scoped_nodes.py#L2590-L2603. When we are inferring an attribute on a derived class then `class_context` is `True` but `metaclass` is `False` so the property itself is returned.
962becc0ae86c16f7b33140f43cd6ed8f1e8a045
[ "https://github.com/pylint-dev/astroid/commit/dbc9c0c0a01744bf9b654e750b2dbd03d80f3ed5", "https://github.com/pylint-dev/astroid/commit/857f15448fbfbecd488f8bdfdeb315b2950b37d0", "https://github.com/pylint-dev/astroid/commit/8030d6ab76a8696294d5d8f297ad7193b953e9d5", "https://github.com/pylint-dev/astroid/comm...
2021-04-11T11:57:22
Looks like this is caused by https://github.com/PyCQA/astroid/blob/f2b197a4f8af0ceeddf435747a5c937c8632872a/astroid/scoped_nodes.py#L2590-L2603. When we are inferring an attribute on a derived class then `class_context` is `True` but `metaclass` is `False` so the property itself is returned.
pylint-dev__astroid-941
[ "940" ]
python
diff --git a/ChangeLog b/ChangeLog index 4343be3fee..9d7b945fde 100644 --- a/ChangeLog +++ b/ChangeLog @@ -28,6 +28,15 @@ Release Date: TBA Closes #898 +* Fix property inference in class contexts for properties defined on the metaclass + + Closes #940 + +* Update enum brain to fix definition of __members__ for ...
@property members defined in metaclasses of a base class are not correctly inferred Ref https://github.com/PyCQA/astroid/issues/927#issuecomment-817244963 Inference works on the parent class but not the child in the following example: ```python class BaseMeta(type): @property def __members__(cls): ...
941
pylint-dev/astroid
diff --git a/tests/unittest_scoped_nodes.py b/tests/unittest_scoped_nodes.py index 9303f1c7eb..7fe537b2fb 100644 --- a/tests/unittest_scoped_nodes.py +++ b/tests/unittest_scoped_nodes.py @@ -1923,6 +1923,153 @@ def update(self): builder.parse(data) +def test_issue940_metaclass_subclass_property(): + nod...
none
[ "tests/unittest_scoped_nodes.py::test_issue940_metaclass_subclass_property", "tests/unittest_scoped_nodes.py::test_issue940_enums_as_a_real_world_usecase" ]
[ "tests/unittest_scoped_nodes.py::ModuleNodeTest::test_dict_interface", "tests/unittest_scoped_nodes.py::ModuleNodeTest::test_file_stream_api", "tests/unittest_scoped_nodes.py::ModuleNodeTest::test_file_stream_in_memory", "tests/unittest_scoped_nodes.py::ModuleNodeTest::test_file_stream_physical", "tests/uni...
[ "pytest -rA tests/" ]
pytest
{ "files": 3, "hunks": 5, "lines": 30 }
The first issue is caused by the fact that the `str` relies on `postinit` being called I think. I ran into this while debugging `astroid` many times.. I made a quick unit test on #2198. Am I going in the right direction? Also, I guess fixing the errors themselves will be part of this issue right? I'd prefer using `p...
61ca2e832dd1f99ed7de5c7c403031292993d6fd
[ "https://github.com/pylint-dev/astroid/commit/f5028e230d4d0320e31af5f7014f08ba0b0666aa" ]
2023-06-06T20:17:57
The first issue is caused by the fact that the `str` relies on `postinit` being called I think. I ran into this while debugging `astroid` many times..
pylint-dev__astroid-2198
[ "1881" ]
python
diff --git a/astroid/nodes/node_ng.py b/astroid/nodes/node_ng.py index 977469df90..af2d270e1b 100644 --- a/astroid/nodes/node_ng.py +++ b/astroid/nodes/node_ng.py @@ -210,7 +210,7 @@ def __str__(self) -> str: alignment = len(cname) + 1 result = [] for field in self._other_fields + self._a...
Some `__str__` methods of nodes raise errors and warnings ### Steps to reproduce ```python >>> fd = astroid.nodes.FunctionDef() >>> str(fd) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/jacobwalls/astroid/astroid/nodes/node_ng.py", line 219, in __str__ value = getatt...
2198
pylint-dev/astroid
diff --git a/tests/test_nodes.py b/tests/test_nodes.py index 6303bbef28..d5c017dfc4 100644 --- a/tests/test_nodes.py +++ b/tests/test_nodes.py @@ -7,7 +7,9 @@ from __future__ import annotations import copy +import inspect import os +import random import sys import textwrap import unittest @@ -1880,3 +1882,35 @@...
none
[ "tests/test_nodes.py::test_str_repr_no_warnings[AnnAssign]", "tests/test_nodes.py::test_str_repr_no_warnings[Arguments]", "tests/test_nodes.py::test_str_repr_no_warnings[Assert]", "tests/test_nodes.py::test_str_repr_no_warnings[Assign]", "tests/test_nodes.py::test_str_repr_no_warnings[AssignAttr]", "tests...
[ "tests/test_nodes.py::AsStringTest::test_3k_annotations_and_metaclass", "tests/test_nodes.py::AsStringTest::test_3k_as_string", "tests/test_nodes.py::AsStringTest::test_as_string", "tests/test_nodes.py::AsStringTest::test_as_string_for_list_containing_uninferable", "tests/test_nodes.py::AsStringTest::test_a...
[ "pytest -rA" ]
pytest
{ "files": 1, "hunks": 3, "lines": 9 }
I can work around it by replacing `...` with `yield`, but it doesn't seem that this should be necessary (and it wasn't in prior versions of Astroid). And it is hard to satisfy mypy with this workaround, because it expects `yield [value]` etc. @belm0 thanks for the report. The issue seems to have started with #934, the...
12ed435a97be78ce2d00f9ef818ec65d54f5ca82
[ "https://github.com/pylint-dev/astroid/commit/4113a8f61ee3e9a8d5ff021f1bc02f96f2f532c7", "https://github.com/pylint-dev/astroid/commit/5a86f413705fcb9ccb20d4a7d8716e003420f24b", "https://github.com/pylint-dev/astroid/commit/38bb9c0b18b3a5f3038ef633ce250c411e7d6552", "https://github.com/pylint-dev/astroid/comm...
2021-09-15T08:41:50
I can work around it by replacing `...` with `yield`, but it doesn't seem that this should be necessary (and it wasn't in prior versions of Astroid). And it is hard to satisfy mypy with this workaround, because it expects `yield [value]` etc. @belm0 thanks for the report. The issue seems to have started with #934, the...
pylint-dev__astroid-1173
[ "1015" ]
python
diff --git a/ChangeLog b/ChangeLog index 86b614c1f6..ac5df56f4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,11 @@ What's New in astroid 3.2.0? ============================ Release date: TBA +* ``igetattr()`` returns the last same-named function in a class (instead of + the first). This avoids false positives...
false not-an-iterable for class method with @overload (2.5.7 regression) ### Steps to reproduce Starting from astroid 2.5.7, I'm seeing false not-an-iterable when generator class methods are annotated with `@overload`. ```python from typing import overload, Iterator class MyClass: @overload def tran...
1173
pylint-dev/astroid
diff --git a/tests/test_inference.py b/tests/test_inference.py index ffd78fe035..10fceb7b56 100644 --- a/tests/test_inference.py +++ b/tests/test_inference.py @@ -30,7 +30,7 @@ ) from astroid import decorators as decoratorsmod from astroid.arguments import CallSite -from astroid.bases import BoundMethod, Instance, U...
none
[ "tests/test_inference.py::InferenceTest::test_infer_method_overload" ]
[ "tests/test_inference.py::InferenceUtilsTest::test_path_wrapper", "tests/test_inference.py::InferenceTest::test__new__", "tests/test_inference.py::InferenceTest::test__new__bound_methods", "tests/test_inference.py::InferenceTest::test_advanced_tupleassign_name_inference1", "tests/test_inference.py::Inferenc...
[ "pytest -rA" ]
pytest
{ "files": 2, "hunks": 2, "lines": 16 }
Hi @eugene57 Can I work on this issue? Sure, I assigned you to the issue @pavan-msys :)
34fbf2ed10fdd3ce244c12584683f40ac3af984a
[ "https://github.com/pylint-dev/astroid/commit/05f0aa9594a069ffdd8c58776796bf6edb9161ff", "https://github.com/pylint-dev/astroid/commit/d0da3a29bfeff4b2a18969d4eaa3996156698967" ]
2025-05-26T16:30:17
Hi @eugene57 Can I work on this issue? Sure, I assigned you to the issue @pavan-msys :)
pylint-dev__astroid-2756
[ "2608" ]
python
diff --git a/ChangeLog b/ChangeLog index 22ed00a05..d8fdfd63e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -38,6 +38,10 @@ Release date: TBA * Modify ``astroid.bases`` and ``tests.test_nodes`` to reflect that `enum.property` was added in Python 3.11, not 3.10 +* Fix incorrect result in `_get_relative_base_path` when ...
modutils._get_relative_base_path returns incorrect result when directory name starts with directory name in path_to_check Consider following call: `astroid.modutils._get_relative_base_path('something', os.path.join(os.getcwd(), 'some'))`. I would expect this to return `None` by design. However, this returns `'thing'` i...
2756
pylint-dev/astroid
diff --git a/tests/test_get_relative_base_path.py b/tests/test_get_relative_base_path.py new file mode 100644 index 000000000..ddf35588a --- /dev/null +++ b/tests/test_get_relative_base_path.py @@ -0,0 +1,119 @@ +# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html +# For details: https...
none
[ "tests/test_get_relative_base_path.py::TestModUtilsRelativePath::test_similar_prefixes_no_match" ]
[ "tests/test_get_relative_base_path.py::TestModUtilsRelativePath::test_case_sensitivity", "tests/test_get_relative_base_path.py::TestModUtilsRelativePath::test_empty_paths", "tests/test_get_relative_base_path.py::TestModUtilsRelativePath::test_nonexistent_paths", "tests/test_get_relative_base_path.py::TestModU...
[ "pytest -rA" ]
pytest
{ "files": 2, "hunks": 3, "lines": 31 }
OSS-Fuzz discovered another `IndexError` when there's only one argument to `_alias` ([OSS-Fuzz bug report](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64639)): ```python a = _alias(int) ``` ``` Traceback (most recent call last): File "pylint/pylint/checkers/utils.py", line 1365, in safe_infer ...
a8439ff4f822cde57151f083d987a7b7ed593fbf
[ "https://github.com/pylint-dev/astroid/commit/58a3c28feac91b84dba9fe1a9aed54478616d709" ]
2024-10-23T17:48:15
OSS-Fuzz discovered another `IndexError` when there's only one argument to `_alias` ([OSS-Fuzz bug report](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64639)): ```python a = _alias(int) ``` ``` Traceback (most recent call last): File "pylint/pylint/checkers/utils.py", line 1365, in safe_infer ...
pylint-dev__astroid-2623
[ "2513" ]
python
diff --git a/ChangeLog b/ChangeLog index 036f888e08..8ab5375b4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,6 +17,10 @@ Release date: TBA Closes #2521 Closes #2523 +* Fix crash when typing._alias() call is missing arguments. + + Closes #2513 + What's New in astroid 3.3.6? ============================ dif...
IndexError when _alias() has no arguments ### Bug description ```python _alias() ``` This bug was discovered by OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=57984 (report not public yet) ### Configuration ```ini N/A ``` ### Command used ```shell pylint a.py ``` ### ...
2623
pylint-dev/astroid
diff --git a/tests/brain/test_typing.py b/tests/brain/test_typing.py index 1e8e3eaf88..11b77b7f9e 100644 --- a/tests/brain/test_typing.py +++ b/tests/brain/test_typing.py @@ -4,7 +4,7 @@ import pytest -from astroid import builder +from astroid import bases, builder, nodes from astroid.exceptions import InferenceE...
none
[ "tests/brain/test_typing.py::TestTypingAlias::test_infer_typing_alias_incorrect_number_of_arguments[]", "tests/brain/test_typing.py::TestTypingAlias::test_infer_typing_alias_incorrect_number_of_arguments[int]", "tests/brain/test_typing.py::TestTypingAlias::test_infer_typing_alias_incorrect_number_of_arguments[i...
[ "tests/brain/test_typing.py::test_infer_typevar", "tests/brain/test_typing.py::TestTypingAlias::test_infer_typing_alias" ]
[ "pytest -rA" ]
pytest
{ "files": 2, "hunks": 2, "lines": 5 }
Thank you for opening the issue. I don't believe `Unknown().as_string()` is ever called regularly. AFAIK it's only used during inference. What should the string representation of an `Unknown` node be? So not sure this needs to be addressed. Probably just `'Unknown'`. It's mostly only a problem when we do something like...
ce5cbce5ba11cdc2f8139ade66feea1e181a7944
[ "https://github.com/pylint-dev/astroid/commit/eb3b3a21ff08ca50fb3abbaf4b5229f923596caf", "https://github.com/pylint-dev/astroid/commit/81fbae69befe04663f433ba471662aee90951aa1", "https://github.com/pylint-dev/astroid/commit/9b6ebb18f75f49da85fd3543b71ed532911b1ede" ]
2021-11-21T16:15:23
Thank you for opening the issue. I don't believe `Unknown().as_string()` is ever called regularly. AFAIK it's only used during inference. What should the string representation of an `Unknown` node be? So not sure this needs to be addressed. Probably just `'Unknown'`. It's mostly only a problem when we do something like...
pylint-dev__astroid-1268
[ "1264" ]
python
diff --git a/ChangeLog b/ChangeLog index 0f047d393c..944b76f91c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,10 @@ Release date: TBA * Always treat ``__class_getitem__`` as a classmethod. +* Add missing ``as_string`` visitor method for ``Unknown`` node. + + Closes #1264 + What's New in astroid 2.8.6? ===...
'AsStringVisitor' object has no attribute 'visit_unknown' ```python >>> import astroid >>> astroid.nodes.Unknown().as_string() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/tusharsadhwani/code/marvin-python/venv/lib/python3.9/site-packages/astroid/nodes/node_ng.py", line 6...
1268
pylint-dev/astroid
diff --git a/tests/unittest_nodes.py b/tests/unittest_nodes.py index 7c78cd23ed..8c860eac3a 100644 --- a/tests/unittest_nodes.py +++ b/tests/unittest_nodes.py @@ -306,6 +306,11 @@ def test_f_strings(self): ast = abuilder.string_build(code) self.assertEqual(ast.as_string().strip(), code.strip()) + ...
none
[ "tests/unittest_nodes.py::AsStringTest::test_as_string_unknown" ]
[ "tests/unittest_nodes.py::AsStringTest::test_3k_annotations_and_metaclass", "tests/unittest_nodes.py::AsStringTest::test_3k_as_string", "tests/unittest_nodes.py::AsStringTest::test_as_string", "tests/unittest_nodes.py::AsStringTest::test_as_string_for_list_containing_uninferable", "tests/unittest_nodes.py::...
[ "pytest -rA tests/" ]
pytest
{ "files": 2, "hunks": 3, "lines": 8 }
0824812ed2999413f00d80fa58805b1b47c1ccc5
["https://github.com/pylint-dev/astroid/commit/ef7520df9bbd7e387e6e131ab17d250b5d5da692","https://gi(...TRUNCATED)
2022-06-07T10:37:43
pylint-dev__astroid-1602
[ "104" ]
python
"diff --git a/ChangeLog b/ChangeLog\nindex 7db3e6c682..4cc346a478 100644\n--- a/ChangeLog\n+++ b/Cha(...TRUNCATED)
"String formatting is inferred as empty string\nOriginally reported by: **Florian Bruhin (BitBucket:(...TRUNCATED)
1602
pylint-dev/astroid
"diff --git a/tests/unittest_brain_builtin.py b/tests/unittest_brain_builtin.py\nindex 0d7493034a..a(...TRUNCATED)
none
["tests/unittest_brain_builtin.py::TestStringNodes::test_string_format[empty-indexes]","tests/unitte(...TRUNCATED)
["tests/unittest_brain_builtin.py::BuiltinsTest::test_infer_property","tests/unittest_inference.py::(...TRUNCATED)
[ "pytest -rA tests/" ]
pytest
{ "files": 2, "hunks": 3, "lines": 50 }
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
7