diff --git a/ChangeLog b/ChangeLog index 019dbb91a9..2e83567741 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,7 +10,7 @@ Release Date: TBA What's New in astroid 2.5.8? ============================ -Release Date: TBA +Release Date: 2021-06-07 * Improve support for Pattern Matching diff --git a/astroid/as_string.py b/astroid/as_string.py index 0c5a154a1c..b26e4f97a4 100644 --- a/astroid/as_string.py +++ b/astroid/as_string.py @@ -13,9 +13,9 @@ # Copyright (c) 2018 Nick Drozd # Copyright (c) 2019 Alex Hall # Copyright (c) 2019 Hugo van Kemenade -# Copyright (c) 2021 pre-commit-ci[bot] -# Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> +# Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 pre-commit-ci[bot] # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/bases.py b/astroid/bases.py index 99e6a2eac6..9c6d3c3345 100644 --- a/astroid/bases.py +++ b/astroid/bases.py @@ -13,8 +13,8 @@ # Copyright (c) 2018 Nick Drozd # Copyright (c) 2018 Daniel Colascione # Copyright (c) 2019 Hugo van Kemenade -# Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 Andrew Haigh # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/brain/brain_namedtuple_enum.py b/astroid/brain/brain_namedtuple_enum.py index 9bef844f91..0410c7195f 100644 --- a/astroid/brain/brain_namedtuple_enum.py +++ b/astroid/brain/brain_namedtuple_enum.py @@ -14,9 +14,9 @@ # Copyright (c) 2019 Ashley Whetter # Copyright (c) 2020 hippo91 # Copyright (c) 2020 Ram Rachum +# Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 pre-commit-ci[bot] -# 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 diff --git a/astroid/brain/brain_six.py b/astroid/brain/brain_six.py index d6a4b149ab..9037c25eb3 100644 --- a/astroid/brain/brain_six.py +++ b/astroid/brain/brain_six.py @@ -3,8 +3,8 @@ # Copyright (c) 2018 Bryce Guinta # Copyright (c) 2020-2021 hippo91 # Copyright (c) 2020 Ram Rachum -# Copyright (c) 2021 Artsiom Kaval # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 Artsiom Kaval # Copyright (c) 2021 Francis Charette Migneault # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html diff --git a/astroid/builder.py b/astroid/builder.py index 4b6d7ceb2e..331b7cda2f 100644 --- a/astroid/builder.py +++ b/astroid/builder.py @@ -8,8 +8,8 @@ # Copyright (c) 2017 Łukasz Rogalski # Copyright (c) 2018 Anthony Sottile # Copyright (c) 2020-2021 hippo91 -# Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 Andrew Haigh # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/exceptions.py b/astroid/exceptions.py index 438f8aad5c..c0d811f632 100644 --- a/astroid/exceptions.py +++ b/astroid/exceptions.py @@ -5,8 +5,8 @@ # Copyright (c) 2016 Derek Gustafson # Copyright (c) 2018 Bryce Guinta # Copyright (c) 2020-2021 hippo91 -# Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 Andrew Haigh # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/helpers.py b/astroid/helpers.py index db86606e11..8a9ada82f1 100644 --- a/astroid/helpers.py +++ b/astroid/helpers.py @@ -5,6 +5,7 @@ # Copyright (c) 2020 Simon Hewitt # Copyright (c) 2020 Bryce Guinta # Copyright (c) 2020 Ram Rachum +# Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html diff --git a/astroid/inference.py b/astroid/inference.py index 352d8b6bb8..0160ab8be3 100644 --- a/astroid/inference.py +++ b/astroid/inference.py @@ -16,8 +16,8 @@ # Copyright (c) 2018 Ashley Whetter # Copyright (c) 2018 HoverHell # Copyright (c) 2020 Leandro T. C. Melo -# Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 Andrew Haigh # 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/interpreter/_import/spec.py b/astroid/interpreter/_import/spec.py index 472df37211..e759379971 100644 --- a/astroid/interpreter/_import/spec.py +++ b/astroid/interpreter/_import/spec.py @@ -10,8 +10,8 @@ # Copyright (c) 2020-2021 hippo91 # Copyright (c) 2020 Peter Kolbus # Copyright (c) 2020 Raphael Gaschignard -# Copyright (c) 2021 DudeNr33 <3929834+DudeNr33@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 DudeNr33 <3929834+DudeNr33@users.noreply.github.com> # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> import abc diff --git a/astroid/manager.py b/astroid/manager.py index bed88875d4..041fc7e241 100644 --- a/astroid/manager.py +++ b/astroid/manager.py @@ -13,9 +13,9 @@ # Copyright (c) 2020 Raphael Gaschignard # Copyright (c) 2020 Anubhav <35621759+anubh-v@users.noreply.github.com> # Copyright (c) 2020 Ashley Whetter +# Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 DudeNr33 <3929834+DudeNr33@users.noreply.github.com> # Copyright (c) 2021 pre-commit-ci[bot] -# Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/mixins.py b/astroid/mixins.py index 6c4d112c14..c50bd096e7 100644 --- a/astroid/mixins.py +++ b/astroid/mixins.py @@ -6,8 +6,8 @@ # Copyright (c) 2015 Florian Bruhin # Copyright (c) 2016 Jakub Wilk # Copyright (c) 2018 Nick Drozd -# Copyright (c) 2021 pre-commit-ci[bot] # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 pre-commit-ci[bot] # 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/modutils.py b/astroid/modutils.py index fc3f6bf06b..6e53b97acb 100644 --- a/astroid/modutils.py +++ b/astroid/modutils.py @@ -17,8 +17,8 @@ # Copyright (c) 2019 BasPH # Copyright (c) 2020 hippo91 # Copyright (c) 2020 Peter Kolbus -# Copyright (c) 2021 DudeNr33 <3929834+DudeNr33@users.noreply.github.com> # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 DudeNr33 <3929834+DudeNr33@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/master/LICENSE diff --git a/astroid/node_classes.py b/astroid/node_classes.py index 85e3cea617..f35d5cce2b 100644 --- a/astroid/node_classes.py +++ b/astroid/node_classes.py @@ -23,9 +23,10 @@ # Copyright (c) 2019 kavins14 # Copyright (c) 2020 Raphael Gaschignard # Copyright (c) 2020 Bryce Guinta +# Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> -# Copyright (c) 2021 Federico Bond # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 Federico Bond # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/astroid/nodes.py b/astroid/nodes.py index 2119d19dfc..e946b761ed 100644 --- a/astroid/nodes.py +++ b/astroid/nodes.py @@ -7,8 +7,8 @@ # Copyright (c) 2017 Ashley Whetter # Copyright (c) 2017 rr- # Copyright (c) 2018 Bryce Guinta -# Copyright (c) 2021 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/master/LICENSE diff --git a/astroid/rebuilder.py b/astroid/rebuilder.py index dd942e7929..6f76a5a2af 100644 --- a/astroid/rebuilder.py +++ b/astroid/rebuilder.py @@ -18,8 +18,8 @@ # 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 Federico Bond # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 Federico Bond # Copyright (c) 2021 hippo91 # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html diff --git a/astroid/transforms.py b/astroid/transforms.py index 5314fcb237..f097bcf0b1 100644 --- a/astroid/transforms.py +++ b/astroid/transforms.py @@ -1,6 +1,7 @@ # Copyright (c) 2015-2016, 2018 Claudiu Popa # Copyright (c) 2016 Ceridwen # Copyright (c) 2018 Nick Drozd +# Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html diff --git a/tests/unittest_brain_numpy_core_umath.py b/tests/unittest_brain_numpy_core_umath.py index fad4c2e423..d8ac4e580c 100644 --- a/tests/unittest_brain_numpy_core_umath.py +++ b/tests/unittest_brain_numpy_core_umath.py @@ -1,8 +1,8 @@ # Copyright (c) 2019-2021 hippo91 # Copyright (c) 2019 Ashley Whetter # Copyright (c) 2020 Claudiu Popa -# Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 Andrew Haigh # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/tests/unittest_builder.py b/tests/unittest_builder.py index 70e31770f5..aee99af66d 100644 --- a/tests/unittest_builder.py +++ b/tests/unittest_builder.py @@ -12,9 +12,9 @@ # Copyright (c) 2019 Ashley Whetter # Copyright (c) 2019 Hugo van Kemenade # Copyright (c) 2020-2021 hippo91 +# Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 pre-commit-ci[bot] # Copyright (c) 2021 Andrew Haigh -# Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/tests/unittest_inference.py b/tests/unittest_inference.py index 927b345794..9e9ab0afaa 100644 --- a/tests/unittest_inference.py +++ b/tests/unittest_inference.py @@ -26,8 +26,8 @@ # Copyright (c) 2020 Peter Kolbus # Copyright (c) 2020 Karthikeyan Singaravelan # Copyright (c) 2020 Bryce Guinta -# Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> # Copyright (c) 2021 Francis Charette Migneault diff --git a/tests/unittest_modutils.py b/tests/unittest_modutils.py index e13d194558..145bcccb1f 100644 --- a/tests/unittest_modutils.py +++ b/tests/unittest_modutils.py @@ -11,9 +11,9 @@ # Copyright (c) 2019 markmcclain # Copyright (c) 2020-2021 hippo91 # Copyright (c) 2020 Peter Kolbus +# Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 DudeNr33 <3929834+DudeNr33@users.noreply.github.com> # Copyright (c) 2021 pre-commit-ci[bot] -# 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 diff --git a/tests/unittest_nodes.py b/tests/unittest_nodes.py index 4e3505139a..681c8547d7 100644 --- a/tests/unittest_nodes.py +++ b/tests/unittest_nodes.py @@ -17,8 +17,8 @@ # Copyright (c) 2019 Hugo van Kemenade # Copyright (c) 2020 David Gilman # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> -# Copyright (c) 2021 Federico Bond # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 Federico Bond # Copyright (c) 2021 hippo91 # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html diff --git a/tests/unittest_object_model.py b/tests/unittest_object_model.py index 15619c10e4..7e68faa4df 100644 --- a/tests/unittest_object_model.py +++ b/tests/unittest_object_model.py @@ -4,8 +4,8 @@ # Copyright (c) 2018 Bryce Guinta # Copyright (c) 2019 Ashley Whetter # Copyright (c) 2020 David Gilman -# Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 hippo91 # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/tests/unittest_regrtest.py b/tests/unittest_regrtest.py index 89b02c9123..ff21b11d92 100644 --- a/tests/unittest_regrtest.py +++ b/tests/unittest_regrtest.py @@ -10,8 +10,8 @@ # Copyright (c) 2019, 2021 hippo91 # Copyright (c) 2019 Ashley Whetter # Copyright (c) 2020 David Gilman -# Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 Pierre Sassoulas +# Copyright (c) 2021 Andrew Haigh # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE diff --git a/tests/unittest_scoped_nodes.py b/tests/unittest_scoped_nodes.py index 6537f63518..2f06d4108e 100644 --- a/tests/unittest_scoped_nodes.py +++ b/tests/unittest_scoped_nodes.py @@ -20,9 +20,9 @@ # Copyright (c) 2019 Peter de Blanc # Copyright (c) 2020 David Gilman # Copyright (c) 2020 Tim Martin +# Copyright (c) 2021 Pierre Sassoulas # Copyright (c) 2021 Andrew Haigh # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> -# Copyright (c) 2021 Pierre Sassoulas # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/LICENSE