From 787c304d068dbd915470b573adbd644b8fb4b12d Mon Sep 17 00:00:00 2001 From: Andrew Hamilton Date: Mon, 12 Apr 2021 02:25:49 +1000 Subject: [PATCH] Files don't need individual license headers. - All files are licensed by the LICENSE file at root. - Updated the license to 2021. - Have kept the license in LS_COLORS since its 3rd party. --- LICENSE | 2 +- build-flatpak.py | 3 --- eris-docker | 3 --- eris-flatpak | 3 --- eris/__main__.py | 2 -- eris/fill3.py | 2 -- eris/gut.py | 3 --- eris/lscolors.py | 2 -- eris/paged_list.py | 2 -- eris/pydoc_color.py | 3 --- eris/terminal.py | 3 --- eris/termstr.py | 3 --- eris/tools.py | 2 -- eris/tools.toml | 2 -- eris/webserver.py | 3 --- eris/worker.py | 2 -- install-dependencies | 3 --- install-tools | 3 --- make-appimage.py | 3 --- make-flatpak-manifest.py | 3 --- make-readme.py | 3 --- setup.py | 3 --- test-all | 3 --- test_distributions.py | 3 --- tests/__main___test.py | 2 -- tests/fill3_test.py | 2 -- tests/golden.py | 2 -- tests/gut_test.py | 2 -- tests/lscolors_test.py | 2 -- tests/paged_list_test.py | 3 --- tests/termstr_test.py | 2 -- tests/tools_test.py | 2 -- tests/worker_test.py | 3 --- 33 files changed, 1 insertion(+), 83 deletions(-) diff --git a/LICENSE b/LICENSE index 739f673..fe55e24 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The Artistic License 2.0 - Copyright (c) 2015-2017 ahamilton + Copyright (c) 2015-2021 ahamilton Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. diff --git a/build-flatpak.py b/build-flatpak.py index 61a0399..e0a6aa1 100755 --- a/build-flatpak.py +++ b/build-flatpak.py @@ -1,8 +1,5 @@ #!/usr/bin/python3.8 -# Copyright (C) 2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - import json import os diff --git a/eris-docker b/eris-docker index 29ed4ad..5f09c01 100755 --- a/eris-docker +++ b/eris-docker @@ -1,8 +1,5 @@ #!/bin/bash -# Copyright (C) 2020 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - set -e diff --git a/eris-flatpak b/eris-flatpak index 57f8d23..0eaf1b3 100755 --- a/eris-flatpak +++ b/eris-flatpak @@ -1,7 +1,4 @@ #!/bin/bash -# Copyright (C) 2020 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - exec flatpak run --filesystem=host com.github.ahamilton.eris "$@" diff --git a/eris/__main__.py b/eris/__main__.py index 5738114..1a68ec8 100755 --- a/eris/__main__.py +++ b/eris/__main__.py @@ -1,8 +1,6 @@ #!/usr/bin/env python3.8 # -*- coding: utf-8 -*- -# Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. """Eris Codebase Monitor diff --git a/eris/fill3.py b/eris/fill3.py index 862df93..3ef1a5b 100755 --- a/eris/fill3.py +++ b/eris/fill3.py @@ -1,8 +1,6 @@ #!/usr/bin/python3.8 # -*- coding: utf-8 -*- -# Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. import asyncio import contextlib diff --git a/eris/gut.py b/eris/gut.py index cd69bb3..67e1645 100755 --- a/eris/gut.py +++ b/eris/gut.py @@ -1,8 +1,5 @@ #!/usr/bin/env python3.8 -# Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - """Gut shows a python file with the bodies of functions and methods removed. diff --git a/eris/lscolors.py b/eris/lscolors.py index a645ca9..3e4d388 100644 --- a/eris/lscolors.py +++ b/eris/lscolors.py @@ -1,6 +1,4 @@ -# Copyright (C) 2011, 2015-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. """Determine a color for a file based on its file type. diff --git a/eris/paged_list.py b/eris/paged_list.py index 189d467..1ac86e8 100644 --- a/eris/paged_list.py +++ b/eris/paged_list.py @@ -1,5 +1,3 @@ -# Copyright (C) 2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. import functools diff --git a/eris/pydoc_color.py b/eris/pydoc_color.py index b35cd81..fd1d981 100755 --- a/eris/pydoc_color.py +++ b/eris/pydoc_color.py @@ -1,8 +1,5 @@ #!/usr/bin/env python3.8 -# Copyright (C) 2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - import pydoc import sys diff --git a/eris/terminal.py b/eris/terminal.py index df2536d..9490c93 100644 --- a/eris/terminal.py +++ b/eris/terminal.py @@ -1,7 +1,4 @@ -# Copyright (C) 2015-2021 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - import contextlib import sys diff --git a/eris/termstr.py b/eris/termstr.py index 17238d1..dbb4465 100644 --- a/eris/termstr.py +++ b/eris/termstr.py @@ -1,7 +1,4 @@ -# Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - import collections import functools diff --git a/eris/tools.py b/eris/tools.py index 9cb0326..7b6f8f8 100755 --- a/eris/tools.py +++ b/eris/tools.py @@ -1,8 +1,6 @@ #!/usr/bin/python3.8 # -*- coding: utf-8 -*- -# Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. import contextlib import enum diff --git a/eris/tools.toml b/eris/tools.toml index a62fc75..30949c7 100644 --- a/eris/tools.toml +++ b/eris/tools.toml @@ -1,6 +1,4 @@ -# Copyright (C) 2018-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. tools_for_extensions = [ [["py"], ["python_syntax", "python_unittests", "pytest", "pydoc", "mypy", diff --git a/eris/webserver.py b/eris/webserver.py index 6fed508..e2e38f3 100755 --- a/eris/webserver.py +++ b/eris/webserver.py @@ -1,8 +1,5 @@ #!/usr/bin/env python3.8 -# Copyright (C) 2018-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - import gzip import http.server diff --git a/eris/worker.py b/eris/worker.py index 795628a..33ad2a0 100755 --- a/eris/worker.py +++ b/eris/worker.py @@ -1,7 +1,5 @@ #!/usr/bin/env python3.8 -# Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. import asyncio import contextlib diff --git a/install-dependencies b/install-dependencies index bec6760..ee54738 100755 --- a/install-dependencies +++ b/install-dependencies @@ -1,8 +1,5 @@ #!/bin/bash -# Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - set -e diff --git a/install-tools b/install-tools index 3529289..67aa06c 100755 --- a/install-tools +++ b/install-tools @@ -1,8 +1,5 @@ #!/usr/bin/env python3.8 -# Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - import subprocess import eris.tools diff --git a/make-appimage.py b/make-appimage.py index 41dd95c..aa6f955 100755 --- a/make-appimage.py +++ b/make-appimage.py @@ -1,8 +1,5 @@ #!/usr/bin/env python3.8 -# Copyright (C) 2017-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - import os import pickle diff --git a/make-flatpak-manifest.py b/make-flatpak-manifest.py index 1653e85..2491d43 100755 --- a/make-flatpak-manifest.py +++ b/make-flatpak-manifest.py @@ -1,8 +1,5 @@ #!/usr/bin/python3.8 -# Copyright (C) 2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - import json import os.path diff --git a/make-readme.py b/make-readme.py index 04334dd..8697288 100755 --- a/make-readme.py +++ b/make-readme.py @@ -1,9 +1,6 @@ #!/usr/bin/env python3.8 # -*- coding: utf-8 -*- -# Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - import eris.tools as tools diff --git a/setup.py b/setup.py index 4fc9f9d..bc918fc 100755 --- a/setup.py +++ b/setup.py @@ -1,8 +1,5 @@ #!/usr/bin/env python3.8 -# Copyright (C) 2017-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - try: from setuptools import setup diff --git a/test-all b/test-all index 73a39b8..ec06da4 100755 --- a/test-all +++ b/test-all @@ -1,8 +1,5 @@ #!/bin/bash -# Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - FAILURE=0 CODEBASE_PATH=$(dirname $0) diff --git a/test_distributions.py b/test_distributions.py index f9dfbd3..ff006a3 100755 --- a/test_distributions.py +++ b/test_distributions.py @@ -1,8 +1,5 @@ #!/usr/bin/env python3.8 -# Copyright (C) 2017-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - import os import subprocess diff --git a/tests/__main___test.py b/tests/__main___test.py index b6bb655..a26589f 100755 --- a/tests/__main___test.py +++ b/tests/__main___test.py @@ -1,7 +1,5 @@ #!/usr/bin/env python3.8 -# Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. import asyncio import contextlib diff --git a/tests/fill3_test.py b/tests/fill3_test.py index 44187b7..dcc418e 100755 --- a/tests/fill3_test.py +++ b/tests/fill3_test.py @@ -1,8 +1,6 @@ #!/usr/bin/env python3.8 # -*- coding: utf-8 -*- -# Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. import unittest diff --git a/tests/golden.py b/tests/golden.py index b174e63..709fab6 100644 --- a/tests/golden.py +++ b/tests/golden.py @@ -1,6 +1,4 @@ -# Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. import optparse import os.path diff --git a/tests/gut_test.py b/tests/gut_test.py index ca3e36e..17df75a 100755 --- a/tests/gut_test.py +++ b/tests/gut_test.py @@ -1,7 +1,5 @@ #!/usr/bin/env python3.8 -# Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. import textwrap import unittest diff --git a/tests/lscolors_test.py b/tests/lscolors_test.py index c71950a..3d41508 100755 --- a/tests/lscolors_test.py +++ b/tests/lscolors_test.py @@ -1,7 +1,5 @@ #!/usr/bin/env python3.8 -# Copyright (C) 2011, 2015-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. import os import os.path diff --git a/tests/paged_list_test.py b/tests/paged_list_test.py index 6c0456a..6de27ff 100755 --- a/tests/paged_list_test.py +++ b/tests/paged_list_test.py @@ -1,8 +1,5 @@ #!/usr/bin/env python3.8 -# Copyright (C) 2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - import pickle import tempfile diff --git a/tests/termstr_test.py b/tests/termstr_test.py index f7e9554..3105eab 100755 --- a/tests/termstr_test.py +++ b/tests/termstr_test.py @@ -1,7 +1,5 @@ #!/usr/bin/env python3.8 -# Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. import os import pickle diff --git a/tests/tools_test.py b/tests/tools_test.py index b9cf09c..c0f464a 100755 --- a/tests/tools_test.py +++ b/tests/tools_test.py @@ -1,7 +1,5 @@ #!/usr/bin/env python3.8 -# Copyright (C) 2016-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. import contextlib import os diff --git a/tests/worker_test.py b/tests/worker_test.py index 7b9b0ef..8d15f74 100755 --- a/tests/worker_test.py +++ b/tests/worker_test.py @@ -1,8 +1,5 @@ #!/usr/bin/env python3.8 -# Copyright (C) 2016-2019 Andrew Hamilton. All rights reserved. -# Licensed under the Artistic License 2.0. - import asyncio import os