From 07c0f60ffc1017d0a9a2bb605a5c645781a8c088 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sun, 27 Feb 2022 22:43:26 +0100 Subject: [PATCH] Bump astroid to 2.10.0, update changelog --- ChangeLog | 19 +++++++++++++------ astroid/__init__.py | 3 ++- astroid/__pkginfo__.py | 5 +++-- astroid/arguments.py | 2 ++ astroid/bases.py | 1 + astroid/brain/brain_builtin_inference.py | 1 + astroid/brain/brain_collections.py | 1 + astroid/brain/brain_namedtuple_enum.py | 1 + astroid/brain/brain_numpy_utils.py | 1 + astroid/brain/brain_typing.py | 4 +++- astroid/builder.py | 6 ++++-- astroid/context.py | 1 + astroid/decorators.py | 2 +- astroid/helpers.py | 1 + astroid/inference.py | 3 ++- astroid/interpreter/_import/spec.py | 2 ++ astroid/interpreter/_import/util.py | 3 ++- astroid/mixins.py | 1 + astroid/modutils.py | 4 +++- astroid/nodes/__init__.py | 2 +- astroid/nodes/as_string.py | 1 + astroid/nodes/node_classes.py | 3 ++- astroid/nodes/scoped_nodes/scoped_nodes.py | 6 ++++-- astroid/protocols.py | 4 +++- astroid/raw_building.py | 3 ++- astroid/rebuilder.py | 5 +++-- astroid/test_utils.py | 1 + astroid/util.py | 2 +- tbump.toml | 2 +- tests/resources.py | 1 + tests/unittest_brain.py | 3 +++ tests/unittest_builder.py | 5 ++++- tests/unittest_inference.py | 3 ++- tests/unittest_manager.py | 1 + tests/unittest_modutils.py | 2 +- tests/unittest_nodes.py | 1 + tests/unittest_protocols.py | 1 + tests/unittest_regrtest.py | 2 +- tests/unittest_scoped_nodes.py | 5 ++++- 39 files changed, 83 insertions(+), 31 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8910b33959..670628b8da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,11 +2,23 @@ astroid's ChangeLog =================== -What's New in astroid 2.10.0? +What's New in astroid 2.11.0? +============================= +Release date: TBA + + + +What's New in astroid 2.10.1? ============================= Release date: TBA + +What's New in astroid 2.10.0? +============================= +Release date: 2022-02-27 + + * Fixed inference of ``self`` in binary operations in which ``self`` is part of a list or tuple. @@ -71,11 +83,6 @@ Release date: TBA Closes #1383 -What's New in astroid 2.9.4? -============================ -Release date: TBA - - What's New in astroid 2.9.3? ============================ diff --git a/astroid/__init__.py b/astroid/__init__.py index c94b24c7c9..e068cead0d 100644 --- a/astroid/__init__.py +++ b/astroid/__init__.py @@ -8,9 +8,10 @@ # Copyright (c) 2018 Bryce Guinta # Copyright (c) 2019 Nick Drozd # Copyright (c) 2020-2021 hippo91 +# Copyright (c) 2021-2022 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> -# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> +# Copyright (c) 2022 tristanlatr <19967168+tristanlatr@users.noreply.github.com> # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/__pkginfo__.py b/astroid/__pkginfo__.py index b2cdea385b..3220e2a1f9 100644 --- a/astroid/__pkginfo__.py +++ b/astroid/__pkginfo__.py @@ -18,11 +18,12 @@ # Copyright (c) 2020 Konrad Weihmann # Copyright (c) 2020 Felix Mölder # Copyright (c) 2020 Michael -# Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021-2022 Pierre Sassoulas # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE -__version__ = "2.10.0-dev0" +__version__ = "2.10.0" version = __version__ diff --git a/astroid/arguments.py b/astroid/arguments.py index 1762e9a851..b3dc901384 100644 --- a/astroid/arguments.py +++ b/astroid/arguments.py @@ -8,6 +8,8 @@ # Copyright (c) 2021 Tushar Sadhwani <86737547+tushar-deepsource@users.noreply.github.com> # Copyright (c) 2021 David Liu # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> +# Copyright (c) 2022 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/bases.py b/astroid/bases.py index 4b5114e12e..46c6d40cea 100644 --- a/astroid/bases.py +++ b/astroid/bases.py @@ -21,6 +21,7 @@ # Copyright (c) 2021 doranid # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Andrew Haigh +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/brain/brain_builtin_inference.py b/astroid/brain/brain_builtin_inference.py index f5114617f6..2806abc0d1 100644 --- a/astroid/brain/brain_builtin_inference.py +++ b/astroid/brain/brain_builtin_inference.py @@ -15,6 +15,7 @@ # Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Nick Drozd # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> +# Copyright (c) 2022 areveny # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/brain/brain_collections.py b/astroid/brain/brain_collections.py index 5fcebec5e7..4f05cf7fdd 100644 --- a/astroid/brain/brain_collections.py +++ b/astroid/brain/brain_collections.py @@ -7,6 +7,7 @@ # Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 John Belmonte # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/brain/brain_namedtuple_enum.py b/astroid/brain/brain_namedtuple_enum.py index 1ca661fad8..247a767c31 100644 --- a/astroid/brain/brain_namedtuple_enum.py +++ b/astroid/brain/brain_namedtuple_enum.py @@ -21,6 +21,7 @@ # Copyright (c) 2021 pre-commit-ci[bot] # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Andrew Haigh +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/brain/brain_numpy_utils.py b/astroid/brain/brain_numpy_utils.py index 3686a7a056..6d5fb187cc 100644 --- a/astroid/brain/brain_numpy_utils.py +++ b/astroid/brain/brain_numpy_utils.py @@ -3,6 +3,7 @@ # Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Nick Drozd # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/brain/brain_typing.py b/astroid/brain/brain_typing.py index 680c3ec386..6c0802a3fd 100644 --- a/astroid/brain/brain_typing.py +++ b/astroid/brain/brain_typing.py @@ -5,12 +5,14 @@ # Copyright (c) 2017 Łukasz Rogalski # Copyright (c) 2017 David Euresti # Copyright (c) 2018 Bryce Guinta +# Copyright (c) 2021-2022 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas -# Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Redoubts # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Tim Martin # Copyright (c) 2021 hippo91 +# Copyright (c) 2022 Jacob Walls +# Copyright (c) 2022 Alexander Shadchin """Astroid hooks for typing.py support.""" import typing diff --git a/astroid/builder.py b/astroid/builder.py index 7b33028d16..682d7ab792 100644 --- a/astroid/builder.py +++ b/astroid/builder.py @@ -8,13 +8,15 @@ # Copyright (c) 2017 Łukasz Rogalski # Copyright (c) 2018 Anthony Sottile # Copyright (c) 2020-2021 hippo91 +# Copyright (c) 2021-2022 Marc Mueller <30130371+cdce8p@users.noreply.github.com> +# Copyright (c) 2021-2022 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Tushar Sadhwani <86737547+tushar-deepsource@users.noreply.github.com> -# Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Gregory P. Smith # Copyright (c) 2021 Kian Meng, Ang -# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Andrew Haigh +# Copyright (c) 2022 Joshua Cannon +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/context.py b/astroid/context.py index 4125fde4be..0105added2 100644 --- a/astroid/context.py +++ b/astroid/context.py @@ -10,6 +10,7 @@ # Copyright (c) 2021 David Liu # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Andrew Haigh +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/decorators.py b/astroid/decorators.py index ef79851915..aff91e0c89 100644 --- a/astroid/decorators.py +++ b/astroid/decorators.py @@ -9,8 +9,8 @@ # Copyright (c) 2018 Bryce Guinta # Copyright (c) 2020-2021 hippo91 # Copyright (c) 2020 Ram Rachum +# Copyright (c) 2021-2022 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas -# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html diff --git a/astroid/helpers.py b/astroid/helpers.py index a9033d5792..36fa84928c 100644 --- a/astroid/helpers.py +++ b/astroid/helpers.py @@ -11,6 +11,7 @@ # Copyright (c) 2021 David Liu # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Andrew Haigh +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/inference.py b/astroid/inference.py index f1b50a870b..384d4e6346 100644 --- a/astroid/inference.py +++ b/astroid/inference.py @@ -16,12 +16,13 @@ # Copyright (c) 2018 Ashley Whetter # Copyright (c) 2018 HoverHell # Copyright (c) 2020 Leandro T. C. Melo +# Copyright (c) 2021-2022 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Kian Meng, Ang -# Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 David Liu +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/interpreter/_import/spec.py b/astroid/interpreter/_import/spec.py index 53228bd815..9a63fdc07e 100644 --- a/astroid/interpreter/_import/spec.py +++ b/astroid/interpreter/_import/spec.py @@ -14,6 +14,8 @@ # Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 DudeNr33 <3929834+DudeNr33@users.noreply.github.com> # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> +# Copyright (c) 2022 Jacob Walls +# Copyright (c) 2022 Alexander Shadchin import abc import collections diff --git a/astroid/interpreter/_import/util.py b/astroid/interpreter/_import/util.py index e3ccf25536..f252babb96 100644 --- a/astroid/interpreter/_import/util.py +++ b/astroid/interpreter/_import/util.py @@ -1,7 +1,8 @@ # Copyright (c) 2016, 2018 Claudiu Popa +# Copyright (c) 2021-2022 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas -# Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Neil Girdhar +# Copyright (c) 2022 Alexander Shadchin try: import pkg_resources diff --git a/astroid/mixins.py b/astroid/mixins.py index 097fd1ea41..deefd59726 100644 --- a/astroid/mixins.py +++ b/astroid/mixins.py @@ -10,6 +10,7 @@ # Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 pre-commit-ci[bot] +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/modutils.py b/astroid/modutils.py index 4bb1fc6e67..7cce55b4fa 100644 --- a/astroid/modutils.py +++ b/astroid/modutils.py @@ -17,12 +17,14 @@ # Copyright (c) 2019 BasPH # Copyright (c) 2020-2021 hippo91 # Copyright (c) 2020 Peter Kolbus +# Copyright (c) 2021-2022 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas -# Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Keichi Takahashi # Copyright (c) 2021 Nick Drozd # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 DudeNr33 <3929834+DudeNr33@users.noreply.github.com> +# Copyright (c) 2022 pre-commit-ci[bot] +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/nodes/__init__.py b/astroid/nodes/__init__.py index dd7b9622da..8207cc69bb 100644 --- a/astroid/nodes/__init__.py +++ b/astroid/nodes/__init__.py @@ -7,8 +7,8 @@ # Copyright (c) 2017 Ashley Whetter # Copyright (c) 2017 rr- # Copyright (c) 2018 Bryce Guinta +# Copyright (c) 2021-2022 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas -# Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html diff --git a/astroid/nodes/as_string.py b/astroid/nodes/as_string.py index 2f2874c6b1..16ac3433e5 100644 --- a/astroid/nodes/as_string.py +++ b/astroid/nodes/as_string.py @@ -17,6 +17,7 @@ # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 pre-commit-ci[bot] +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/nodes/node_classes.py b/astroid/nodes/node_classes.py index 1d35f273bb..a8d4c1e1b0 100644 --- a/astroid/nodes/node_classes.py +++ b/astroid/nodes/node_classes.py @@ -23,15 +23,16 @@ # Copyright (c) 2019 kavins14 # Copyright (c) 2020 Raphael Gaschignard # Copyright (c) 2020 Bryce Guinta +# Copyright (c) 2021-2022 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Tushar Sadhwani <86737547+tushar-deepsource@users.noreply.github.com> -# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Kian Meng, Ang # Copyright (c) 2021 David Liu # Copyright (c) 2021 Alphadelta14 # Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 Federico Bond +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/nodes/scoped_nodes/scoped_nodes.py b/astroid/nodes/scoped_nodes/scoped_nodes.py index b6c587b0a3..182ec8f4a1 100644 --- a/astroid/nodes/scoped_nodes/scoped_nodes.py +++ b/astroid/nodes/scoped_nodes/scoped_nodes.py @@ -23,16 +23,18 @@ # Copyright (c) 2020 Peter Kolbus # Copyright (c) 2020 Tim Martin # Copyright (c) 2020 Ram Rachum +# Copyright (c) 2021-2022 Marc Mueller <30130371+cdce8p@users.noreply.github.com> +# Copyright (c) 2021-2022 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Tushar Sadhwani <86737547+tushar-deepsource@users.noreply.github.com> -# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> -# Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Kian Meng, Ang # Copyright (c) 2021 Dmitry Shachnev # Copyright (c) 2021 David Liu # Copyright (c) 2021 pre-commit-ci[bot] # Copyright (c) 2021 doranid # Copyright (c) 2021 Andrew Haigh +# Copyright (c) 2022 Jacob Walls +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/protocols.py b/astroid/protocols.py index 08e32b53ed..8959d951ae 100644 --- a/astroid/protocols.py +++ b/astroid/protocols.py @@ -16,12 +16,14 @@ # Copyright (c) 2020-2021 hippo91 # Copyright (c) 2020 Vilnis Termanis # Copyright (c) 2020 Ram Rachum +# Copyright (c) 2021-2022 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Tushar Sadhwani <86737547+tushar-deepsource@users.noreply.github.com> -# Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 David Liu # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 doranid +# Copyright (c) 2022 pre-commit-ci[bot] +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/raw_building.py b/astroid/raw_building.py index 755f00e817..b478e0e505 100644 --- a/astroid/raw_building.py +++ b/astroid/raw_building.py @@ -13,10 +13,11 @@ # Copyright (c) 2020-2021 hippo91 # Copyright (c) 2020 Becker Awqatty # Copyright (c) 2020 Robin Jarry +# Copyright (c) 2021-2022 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas -# Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Andrew Haigh +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/rebuilder.py b/astroid/rebuilder.py index 0796b1aa2d..7a025e8fac 100644 --- a/astroid/rebuilder.py +++ b/astroid/rebuilder.py @@ -17,11 +17,12 @@ # Copyright (c) 2019-2021 Ashley Whetter # Copyright (c) 2019 Hugo van Kemenade # Copyright (c) 2019 Zbigniew Jędrzejewski-Szmek -# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> -# Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> +# Copyright (c) 2021-2022 Marc Mueller <30130371+cdce8p@users.noreply.github.com> +# Copyright (c) 2021-2022 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Federico Bond # Copyright (c) 2021 hippo91 +# Copyright (c) 2022 Sergei Lebedev <185856+superbobry@users.noreply.github.com> # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/test_utils.py b/astroid/test_utils.py index 7683c3596e..b504414587 100644 --- a/astroid/test_utils.py +++ b/astroid/test_utils.py @@ -8,6 +8,7 @@ # Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Andrew Haigh +# Copyright (c) 2022 Jacob Walls # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/astroid/util.py b/astroid/util.py index fb4285eef4..508791a194 100644 --- a/astroid/util.py +++ b/astroid/util.py @@ -4,8 +4,8 @@ # Copyright (c) 2018 Nick Drozd # Copyright (c) 2020-2021 hippo91 # Copyright (c) 2020 Bryce Guinta +# Copyright (c) 2021-2022 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas -# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/tbump.toml b/tbump.toml index 4544fe8806..e706ee8e9f 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/PyCQA/astroid" [version] -current = "2.10.0-dev0" +current = "2.10.0" regex = ''' ^(?P0|[1-9]\d*) \. diff --git a/tests/resources.py b/tests/resources.py index fbc531afd3..c893425d31 100644 --- a/tests/resources.py +++ b/tests/resources.py @@ -7,6 +7,7 @@ # Copyright (c) 2020 David Cain # Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> +# Copyright (c) 2022 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/tests/unittest_brain.py b/tests/unittest_brain.py index 65fad677ca..9c6f5e357e 100644 --- a/tests/unittest_brain.py +++ b/tests/unittest_brain.py @@ -39,6 +39,9 @@ # Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 Artsiom Kaval # Copyright (c) 2021 Damien Baty +# Copyright (c) 2022 Jacob Walls +# Copyright (c) 2022 Jacob Bogdanov +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/tests/unittest_builder.py b/tests/unittest_builder.py index df6d50b47c..ad61b12784 100644 --- a/tests/unittest_builder.py +++ b/tests/unittest_builder.py @@ -12,13 +12,16 @@ # Copyright (c) 2019 Ashley Whetter # Copyright (c) 2019 Hugo van Kemenade # Copyright (c) 2020-2021 hippo91 +# Copyright (c) 2021-2022 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Tushar Sadhwani <86737547+tushar-deepsource@users.noreply.github.com> # Copyright (c) 2021 Kian Meng, Ang # Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> -# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 pre-commit-ci[bot] +# Copyright (c) 2022 Sergei Lebedev <185856+superbobry@users.noreply.github.com> +# Copyright (c) 2022 Jacob Walls +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/tests/unittest_inference.py b/tests/unittest_inference.py index c3e5bcc0e3..477debef7b 100644 --- a/tests/unittest_inference.py +++ b/tests/unittest_inference.py @@ -26,17 +26,18 @@ # Copyright (c) 2020 Peter Kolbus # Copyright (c) 2020 Karthikeyan Singaravelan # Copyright (c) 2020 Bryce Guinta +# Copyright (c) 2021-2022 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Tushar Sadhwani <86737547+tushar-deepsource@users.noreply.github.com> # Copyright (c) 2021 Kian Meng, Ang # Copyright (c) 2021 Jacob Walls # Copyright (c) 2021 Nick Drozd # Copyright (c) 2021 Dmitry Shachnev -# Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 doranid # Copyright (c) 2021 Francis Charette Migneault +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/tests/unittest_manager.py b/tests/unittest_manager.py index 2cec3987e1..786807309f 100644 --- a/tests/unittest_manager.py +++ b/tests/unittest_manager.py @@ -18,6 +18,7 @@ # Copyright (c) 2021 grayjk # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Andrew Haigh +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/tests/unittest_modutils.py b/tests/unittest_modutils.py index e9e5743df2..c6e50f92db 100644 --- a/tests/unittest_modutils.py +++ b/tests/unittest_modutils.py @@ -12,7 +12,7 @@ # Copyright (c) 2020-2021 hippo91 # Copyright (c) 2020 Peter Kolbus # Copyright (c) 2021-2022 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> -# Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021-2022 Pierre Sassoulas # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 DudeNr33 <3929834+DudeNr33@users.noreply.github.com> # Copyright (c) 2021 pre-commit-ci[bot] diff --git a/tests/unittest_nodes.py b/tests/unittest_nodes.py index 15711c1c27..1ac896fc02 100644 --- a/tests/unittest_nodes.py +++ b/tests/unittest_nodes.py @@ -24,6 +24,7 @@ # Copyright (c) 2021 René Fritze <47802+renefritze@users.noreply.github.com> # Copyright (c) 2021 Federico Bond # Copyright (c) 2021 hippo91 +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/tests/unittest_protocols.py b/tests/unittest_protocols.py index dedf533197..acbba47358 100644 --- a/tests/unittest_protocols.py +++ b/tests/unittest_protocols.py @@ -10,6 +10,7 @@ # Copyright (c) 2021 Kian Meng, Ang # Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE diff --git a/tests/unittest_regrtest.py b/tests/unittest_regrtest.py index 5c6295d4dc..a4073ccd51 100644 --- a/tests/unittest_regrtest.py +++ b/tests/unittest_regrtest.py @@ -10,7 +10,7 @@ # Copyright (c) 2019, 2021 hippo91 # Copyright (c) 2019 Ashley Whetter # Copyright (c) 2020 David Gilman -# Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> +# Copyright (c) 2021-2022 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Andrew Haigh diff --git a/tests/unittest_scoped_nodes.py b/tests/unittest_scoped_nodes.py index 0009278d75..9a156781dc 100644 --- a/tests/unittest_scoped_nodes.py +++ b/tests/unittest_scoped_nodes.py @@ -20,12 +20,15 @@ # Copyright (c) 2019 Peter de Blanc # Copyright (c) 2020 David Gilman # Copyright (c) 2020 Tim Martin +# Copyright (c) 2021-2022 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Tushar Sadhwani <86737547+tushar-deepsource@users.noreply.github.com> -# Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> # Copyright (c) 2021 doranid # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Andrew Haigh +# Copyright (c) 2022 Sergei Lebedev <185856+superbobry@users.noreply.github.com> +# Copyright (c) 2022 Jacob Walls +# Copyright (c) 2022 Alexander Shadchin # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE