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/decorators.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/decorators.py')
-rw-r--r-- | astroid/decorators.py | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/astroid/decorators.py b/astroid/decorators.py index 7527e4a8..ec16fead 100644 --- a/astroid/decorators.py +++ b/astroid/decorators.py @@ -1,20 +1,6 @@ -# Copyright (c) 2015-2016, 2018, 2020 Claudiu Popa <pcmanticore@gmail.com> -# Copyright (c) 2015-2016 Ceridwen <ceridwenv@gmail.com> -# Copyright (c) 2015 Florian Bruhin <me@the-compiler.org> -# Copyright (c) 2016 Derek Gustafson <degustaf@gmail.com> -# Copyright (c) 2018, 2021 Nick Drozd <nicholasdrozd@gmail.com> -# Copyright (c) 2018 Tomas Gavenciak <gavento@ucw.cz> -# Copyright (c) 2018 Ashley Whetter <ashley@awhetter.co.uk> -# Copyright (c) 2018 HoverHell <hoverhell@gmail.com> -# Copyright (c) 2018 Bryce Guinta <bryce.paul.guinta@gmail.com> -# Copyright (c) 2020-2021 hippo91 <guillaume.peillex@gmail.com> -# Copyright (c) 2020 Ram Rachum <ram@rachum.com> -# Copyright (c) 2021-2022 Marc Mueller <30130371+cdce8p@users.noreply.github.com> -# Copyright (c) 2021 Pierre Sassoulas <pierre.sassoulas@gmail.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 # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE +# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt """ A few useful function/method decorators.""" |