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/brain/brain_dataclasses.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/brain/brain_dataclasses.py')
-rw-r--r-- | astroid/brain/brain_dataclasses.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/astroid/brain/brain_dataclasses.py b/astroid/brain/brain_dataclasses.py index a667e80d..769d9ee9 100644 --- a/astroid/brain/brain_dataclasses.py +++ b/astroid/brain/brain_dataclasses.py @@ -1,5 +1,7 @@ # 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 + """ Astroid hook for the dataclasses library |