diff options
Diffstat (limited to 'script')
-rw-r--r-- | script/__init__.py | 3 | ||||
-rw-r--r-- | script/bump_changelog.py | 4 | ||||
-rw-r--r-- | script/copyright.txt | 3 | ||||
-rw-r--r-- | script/create_contributor_list.py | 21 | ||||
-rw-r--r-- | script/fix_documentation.py | 4 | ||||
-rw-r--r-- | script/get_unused_message_id_category.py | 1 |
6 files changed, 36 insertions, 0 deletions
diff --git a/script/__init__.py b/script/__init__.py index e69de29bb..e8a8ff79f 100644 --- a/script/__init__.py +++ b/script/__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/script/bump_changelog.py b/script/bump_changelog.py index 6e25719d4..f1edcdbb0 100644 --- a/script/bump_changelog.py +++ b/script/bump_changelog.py @@ -1,3 +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/blob/main/CONTRIBUTORS.txt + # ORIGINAL here: https://github.com/PyCQA/astroid/blob/main/script/bump_changelog.py # DO NOT MODIFY DIRECTLY diff --git a/script/copyright.txt b/script/copyright.txt new file mode 100644 index 000000000..e8a8ff79f --- /dev/null +++ b/script/copyright.txt @@ -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/script/create_contributor_list.py b/script/create_contributor_list.py new file mode 100644 index 000000000..9b336a01b --- /dev/null +++ b/script/create_contributor_list.py @@ -0,0 +1,21 @@ +# 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 + +from pathlib import Path + +from contributors_txt import create_contributors_txt + +BASE_DIRECTORY = Path(__file__).parent.parent +ALIASES_FILE = BASE_DIRECTORY / "script/.contributors_aliases.json" +DEFAULT_CONTRIBUTOR_PATH = BASE_DIRECTORY / "CONTRIBUTORS.txt" + + +def main(): + create_contributors_txt( + aliases_file=ALIASES_FILE, output=DEFAULT_CONTRIBUTOR_PATH, verbose=True + ) + + +if __name__ == "__main__": + main() diff --git a/script/fix_documentation.py b/script/fix_documentation.py index 0fc4e347e..24dd0097e 100644 --- a/script/fix_documentation.py +++ b/script/fix_documentation.py @@ -1,3 +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/blob/main/CONTRIBUTORS.txt + """Small script to fix various issues with the documentation. Used by pre-commit.""" import argparse import re diff --git a/script/get_unused_message_id_category.py b/script/get_unused_message_id_category.py index 95d7ac3e3..7bf1a1343 100644 --- a/script/get_unused_message_id_category.py +++ b/script/get_unused_message_id_category.py @@ -1,6 +1,7 @@ """Small script to get a new unused message id category.""" # 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 from typing import List |