diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-03-01 16:04:49 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-03-24 13:06:15 +0100 |
commit | ec4a3f7f1eac9e605b35d1ac56680e1608c48be3 (patch) | |
tree | 5cf16665b7797bbe17e71f0f886a744e83bd034a /tests/message | |
parent | 9e0baf370a15fecf3360996a6a2ead688fc61894 (diff) | |
download | pylint-git-ec4a3f7f1eac9e605b35d1ac56680e1608c48be3.tar.gz |
Add a pre-commit hook to check the copyright notice
Fix the existing file so they have a notice.
No header for setup.py or examples or doc
Diffstat (limited to 'tests/message')
-rw-r--r-- | tests/message/__init__.py | 3 | ||||
-rw-r--r-- | tests/message/conftest.py | 3 | ||||
-rw-r--r-- | tests/message/test_no_removed_msgid_or_symbol_used.py | 2 | ||||
-rw-r--r-- | tests/message/unittest_message.py | 2 | ||||
-rw-r--r-- | tests/message/unittest_message_definition.py | 2 | ||||
-rw-r--r-- | tests/message/unittest_message_definition_store.py | 2 | ||||
-rw-r--r-- | tests/message/unittest_message_id_store.py | 2 |
7 files changed, 10 insertions, 6 deletions
diff --git a/tests/message/__init__.py b/tests/message/__init__.py index e69de29bb..e8a8ff79f 100644 --- a/tests/message/__init__.py +++ b/tests/message/__init__.py @@ -0,0 +1,3 @@ +# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html +# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE +# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt diff --git a/tests/message/conftest.py b/tests/message/conftest.py index aee6f5019..7a9a399cf 100644 --- a/tests/message/conftest.py +++ b/tests/message/conftest.py @@ -1,6 +1,7 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html # For details: https://github.com/PyCQA/pylint/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/graphs/contributors +# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt + # pylint: disable=redefined-outer-name diff --git a/tests/message/test_no_removed_msgid_or_symbol_used.py b/tests/message/test_no_removed_msgid_or_symbol_used.py index d829c2943..e00450b9a 100644 --- a/tests/message/test_no_removed_msgid_or_symbol_used.py +++ b/tests/message/test_no_removed_msgid_or_symbol_used.py @@ -1,6 +1,6 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html # For details: https://github.com/PyCQA/pylint/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/graphs/contributors +# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt from pylint.constants import DELETED_MESSAGES from pylint.lint import PyLinter diff --git a/tests/message/unittest_message.py b/tests/message/unittest_message.py index f8397cc3c..ef560a649 100644 --- a/tests/message/unittest_message.py +++ b/tests/message/unittest_message.py @@ -1,6 +1,6 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html # For details: https://github.com/PyCQA/pylint/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/graphs/contributors +# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt from typing import ValuesView diff --git a/tests/message/unittest_message_definition.py b/tests/message/unittest_message_definition.py index 51211b8ba..c81763ff3 100644 --- a/tests/message/unittest_message_definition.py +++ b/tests/message/unittest_message_definition.py @@ -1,6 +1,6 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html # For details: https://github.com/PyCQA/pylint/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/graphs/contributors +# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt import sys from unittest import mock diff --git a/tests/message/unittest_message_definition_store.py b/tests/message/unittest_message_definition_store.py index 96756ce86..a7d8352c6 100644 --- a/tests/message/unittest_message_definition_store.py +++ b/tests/message/unittest_message_definition_store.py @@ -1,6 +1,6 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html # For details: https://github.com/PyCQA/pylint/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/graphs/contributors +# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt from contextlib import redirect_stdout from io import StringIO diff --git a/tests/message/unittest_message_id_store.py b/tests/message/unittest_message_id_store.py index 4be49b182..150ec8d69 100644 --- a/tests/message/unittest_message_id_store.py +++ b/tests/message/unittest_message_id_store.py @@ -1,6 +1,6 @@ # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html # For details: https://github.com/PyCQA/pylint/blob/main/LICENSE -# Copyright (c) https://github.com/PyCQA/pylint/graphs/contributors +# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt from pathlib import Path from typing import Dict, ValuesView |