diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-03-12 08:45:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-12 08:45:17 +0100 |
commit | 1622459e37ed5c908dc602bb4c77b8e7191a8bbe (patch) | |
tree | 535ce98f4dcab1de74bd7e9d3af0757ec53d2cd1 /astroid/transforms.py | |
parent | e346d42e92499849eb5d75ca27a648e1ce411ec7 (diff) | |
download | astroid-git-1622459e37ed5c908dc602bb4c77b8e7191a8bbe.tar.gz |
Simplify hard to maintain copyright notice (#1441)
* Simplify hard to maintain copyright notice
git is the source of truth for the copyright, copyrite (the tool)
was taking exponentially longer with each release, and it's
polluting the code with sometime as much as 50 lines of names.
* Add a pre-commit hook to check the copyright notice
* Fix the existing file so they have a notice
* Fix the spacing after the copyright notice
* Add a script to generate the CONTRIBUTORS.txt
Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'astroid/transforms.py')
-rw-r--r-- | astroid/transforms.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/astroid/transforms.py b/astroid/transforms.py index 42d06160..f74203d0 100644 --- a/astroid/transforms.py +++ b/astroid/transforms.py @@ -1,14 +1,6 @@ -# Copyright (c) 2015-2016, 2018 Claudiu Popa <pcmanticore@gmail.com> -# Copyright (c) 2016 Ceridwen <ceridwenv@gmail.com> -# Copyright (c) 2018 Nick Drozd <nicholasdrozd@gmail.com> -# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.com> -# Copyright (c) 2021 David Liu <david@cs.toronto.edu> -# Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com> -# Copyright (c) 2021 Andrew Haigh <hello@nelf.in> - # 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 - +# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt import collections from functools import lru_cache |