Repository: roskakori/pygount (language: python)

Issue:
Bump year to 2024
## Goals

- [x] The copyright year is 2024.


Discussion / hints:

Fix patch:
diff --git a/LICENSE.txt b/LICENSE.txt
index 0447cb8..3246cbb 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -1,4 +1,4 @@
-Copyright (c) 2016-2023, Thomas Aglassinger
+Copyright (c) 2016-2024, Thomas Aglassinger
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
diff --git a/docs/conf.py b/docs/conf.py
index 1e0d354..2f68c82 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -18,7 +18,7 @@
 # -- Project information -----------------------------------------------------
 
 project = "pygount"
-copyright = "2016-2023, Thomas Aglassinger"
+copyright = "2016-2024, Thomas Aglassinger"
 author = "Thomas Aglassinger"
 
 # The full version, including alpha/beta/rc tags
diff --git a/pygount/__init__.py b/pygount/__init__.py
index 25cdd0a..a8b4666 100644
--- a/pygount/__init__.py
+++ b/pygount/__init__.py
@@ -2,7 +2,7 @@
 Pygount counts lines of source code using pygments lexers.
 """
 
-# Copyright (c) 2016-2023, Thomas Aglassinger.
+# Copyright (c) 2016-2024, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 from importlib.metadata import version
 
diff --git a/pygount/analysis.py b/pygount/analysis.py
index 559836b..a6e898e 100644
--- a/pygount/analysis.py
+++ b/pygount/analysis.py
@@ -2,7 +2,7 @@
 Functions to analyze source code and count lines in it.
 """
 
-# Copyright (c) 2016-2023, Thomas Aglassinger.
+# Copyright (c) 2016-2024, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 import codecs
 import collections
diff --git a/pygount/command.py b/pygount/command.py
index 4e63270..fe4d356 100644
--- a/pygount/command.py
+++ b/pygount/command.py
@@ -2,7 +2,7 @@
 Command line interface for pygount.
 """
 
-# Copyright (c) 2016-2023, Thomas Aglassinger.
+# Copyright (c) 2016-2024, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 import argparse
 import contextlib
diff --git a/pygount/common.py b/pygount/common.py
index aa8d4bf..399dea3 100644
--- a/pygount/common.py
+++ b/pygount/common.py
@@ -2,7 +2,7 @@
 Common classes and functions for pygount.
 """
 
-# Copyright (c) 2016-2023, Thomas Aglassinger.
+# Copyright (c) 2016-2024, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 import fnmatch
 import functools
diff --git a/pygount/lexers.py b/pygount/lexers.py
index 04285ee..648966c 100644
--- a/pygount/lexers.py
+++ b/pygount/lexers.py
@@ -2,7 +2,7 @@
 Additional lexers for pygount that fill gaps left by :py:mod:`pygments`.
 """
 
-# Copyright (c) 2016-2023, Thomas Aglassinger.
+# Copyright (c) 2016-2024, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 import pygments.lexer
 import pygments.lexers
diff --git a/pygount/summary.py b/pygount/summary.py
index 012de64..67be681 100644
--- a/pygount/summary.py
+++ b/pygount/summary.py
@@ -2,7 +2,7 @@
 Summaries of analyses of multiple source codes.
 """
 
-# Copyright (c) 2016-2023, Thomas Aglassinger.
+# Copyright (c) 2016-2024, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 import functools
 import re
diff --git a/pygount/write.py b/pygount/write.py
index 39a55a9..e7756b7 100644
--- a/pygount/write.py
+++ b/pygount/write.py
@@ -2,7 +2,7 @@
 Writers to store the results of a pygount analysis.
 """
 
-# Copyright (c) 2016-2023, Thomas Aglassinger.
+# Copyright (c) 2016-2024, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 import datetime
 import json
diff --git a/pygount/xmldialect.py b/pygount/xmldialect.py
index 2d96d07..70b01e5 100644
--- a/pygount/xmldialect.py
+++ b/pygount/xmldialect.py
@@ -2,7 +2,7 @@
 Function to obtain the language dialect used by XML source code.
 """
 
-# Copyright (c) 2016-2023, Thomas Aglassinger.
+# Copyright (c) 2016-2024, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 import logging
 import re


Test patch:
diff --git a/tests/_common.py b/tests/_common.py
index 712256d..b902657 100644
--- a/tests/_common.py
+++ b/tests/_common.py
@@ -2,7 +2,7 @@
 Common constants and functions used by multiple tests.
 """
 
-# Copyright (c) 2016-2023, Thomas Aglassinger.
+# Copyright (c) 2016-2024, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 import os
 import shutil
diff --git a/tests/test_analysis.py b/tests/test_analysis.py
index 186660c..ccbb5b5 100644
--- a/tests/test_analysis.py
+++ b/tests/test_analysis.py
@@ -2,7 +2,7 @@
 Tests for pygount source code analysis.
 """
 
-# Copyright (c) 2016-2023, Thomas Aglassinger.
+# Copyright (c) 2016-2024, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 import glob
 import os
diff --git a/tests/test_command.py b/tests/test_command.py
index 04b5358..ba81d3b 100644
--- a/tests/test_command.py
+++ b/tests/test_command.py
@@ -2,7 +2,7 @@
 Tests for pygount command line interface.
 """
 
-# Copyright (c) 2016-2023, Thomas Aglassinger.
+# Copyright (c) 2016-2024, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 import json
 import os
diff --git a/tests/test_common.py b/tests/test_common.py
index 7851163..46b497b 100644
--- a/tests/test_common.py
+++ b/tests/test_common.py
@@ -2,7 +2,7 @@
 Tests for :py:mod:`pygount.common` module.
 """
 
-# Copyright (c) 2016-2023, Thomas Aglassinger.
+# Copyright (c) 2016-2024, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 import re
 
diff --git a/tests/test_lexers.py b/tests/test_lexers.py
index 641b87f..7229d65 100644
--- a/tests/test_lexers.py
+++ b/tests/test_lexers.py
@@ -2,7 +2,7 @@
 Tests for additional lexers for pygount.
 """
 
-# Copyright (c) 2016-2023, Thomas Aglassinger.
+# Copyright (c) 2016-2024, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 
 from pygments import token
diff --git a/tests/test_summary.py b/tests/test_summary.py
index 29c3de4..15978b1 100644
--- a/tests/test_summary.py
+++ b/tests/test_summary.py
@@ -2,7 +2,7 @@
 Tests to summarize analyses of multiple source codes.
 """
 
-# Copyright (c) 2016-2023, Thomas Aglassinger.
+# Copyright (c) 2016-2024, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 from pygount.analysis import SourceAnalysis, SourceState
 from pygount.summary import LanguageSummary, ProjectSummary
diff --git a/tests/test_write.py b/tests/test_write.py
index 3ea2bfb..fdbfec6 100644
--- a/tests/test_write.py
+++ b/tests/test_write.py
@@ -2,7 +2,7 @@
 Test to write results of pygount analyses.
 """
 
-# Copyright (c) 2016-2023, Thomas Aglassinger.
+# Copyright (c) 2016-2024, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 import io
 import re
diff --git a/tests/test_xmldialect.py b/tests/test_xmldialect.py
index 8d37364..ff0ef9b 100644
--- a/tests/test_xmldialect.py
+++ b/tests/test_xmldialect.py
@@ -2,7 +2,7 @@
 Tests for function to obtain the language dialect used by XML source code.
 """
 
-# Copyright (c) 2016-2023, Thomas Aglassinger.
+# Copyright (c) 2016-2024, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 import pygount.xmldialect