summaryrefslogtreecommitdiff
path: root/astroid/brain/brain_dataclasses.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2022-03-12 08:45:17 +0100
committerGitHub <noreply@github.com>2022-03-12 08:45:17 +0100
commit1622459e37ed5c908dc602bb4c77b8e7191a8bbe (patch)
tree535ce98f4dcab1de74bd7e9d3af0757ec53d2cd1 /astroid/brain/brain_dataclasses.py
parente346d42e92499849eb5d75ca27a648e1ce411ec7 (diff)
downloadastroid-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.py2
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