Repository: roskakori/pygount (language: python)

Issue:
Update copyright year to 2023
Goal
- [ ] All copyright references to 2022 are changed to 2023.

Estimated: 0.1 MD


Discussion / hints:

Fix patch:
diff --git a/LICENSE.txt b/LICENSE.txt
index c1ac18d..0447cb8 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -1,4 +1,4 @@
-Copyright (c) 2016-2022, Thomas Aglassinger
+Copyright (c) 2016-2023, 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 312d8b3..500cf07 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -18,7 +18,7 @@
 # -- Project information -----------------------------------------------------
 
 project = "pygount"
-copyright = "2016-2022, Thomas Aglassinger"
+copyright = "2016-2023, Thomas Aglassinger"
 author = "Thomas Aglassinger"
 
 # The full version, including alpha/beta/rc tags
diff --git a/pygount/__init__.py b/pygount/__init__.py
index b37b779..be7085e 100644
--- a/pygount/__init__.py
+++ b/pygount/__init__.py
@@ -1,7 +1,7 @@
 """
 Pygount counts lines of source code using pygments lexers.
 """
-# Copyright (c) 2016-2022, Thomas Aglassinger.
+# Copyright (c) 2016-2023, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 import pkg_resources
 
diff --git a/pygount/analysis.py b/pygount/analysis.py
index 2933c75..37162ad 100644
--- a/pygount/analysis.py
+++ b/pygount/analysis.py
@@ -1,7 +1,7 @@
 """
 Functions to analyze source code and count lines in it.
 """
-# Copyright (c) 2016-2022, Thomas Aglassinger.
+# Copyright (c) 2016-2023, 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 eb310d6..05cf755 100644
--- a/pygount/command.py
+++ b/pygount/command.py
@@ -1,7 +1,7 @@
 """
 Command line interface for pygount.
 """
-# Copyright (c) 2016-2022, Thomas Aglassinger.
+# Copyright (c) 2016-2023, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 import argparse
 import logging
diff --git a/pygount/common.py b/pygount/common.py
index 6539b8c..b99eb78 100644
--- a/pygount/common.py
+++ b/pygount/common.py
@@ -1,7 +1,7 @@
 """
 Common classes and functions for pygount.
 """
-# Copyright (c) 2016-2022, Thomas Aglassinger.
+# Copyright (c) 2016-2023, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 import contextlib
 import fnmatch
diff --git a/pygount/lexers.py b/pygount/lexers.py
index 37b1921..0367dbc 100644
--- a/pygount/lexers.py
+++ b/pygount/lexers.py
@@ -1,7 +1,7 @@
 """
 Additional lexers for pygount that fill gaps left by :py:mod:`pygments`.
 """
-# Copyright (c) 2016-2022, Thomas Aglassinger.
+# Copyright (c) 2016-2023, 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 7b98ff5..2933dd4 100644
--- a/pygount/summary.py
+++ b/pygount/summary.py
@@ -1,7 +1,7 @@
 """
 Summaries of analyses of multiple source codes.
 """
-# Copyright (c) 2016-2022, Thomas Aglassinger.
+# Copyright (c) 2016-2023, 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 355a8be..29a5991 100644
--- a/pygount/write.py
+++ b/pygount/write.py
@@ -1,7 +1,7 @@
 """
 Writers to store the results of a pygount analysis.
 """
-# Copyright (c) 2016-2022, Thomas Aglassinger.
+# Copyright (c) 2016-2023, 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 9a721ba..daaa859 100644
--- a/pygount/xmldialect.py
+++ b/pygount/xmldialect.py
@@ -1,7 +1,7 @@
 """
 Function to obtain the language dialect used by XML source code.
 """
-# Copyright (c) 2016-2022, Thomas Aglassinger.
+# Copyright (c) 2016-2023, 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 88bf15b..599a2c0 100644
--- a/tests/_common.py
+++ b/tests/_common.py
@@ -1,7 +1,7 @@
 """
 Common constants and functions used by multiple tests.
 """
-# Copyright (c) 2016-2022, Thomas Aglassinger.
+# Copyright (c) 2016-2023, 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 617ff98..d007e82 100644
--- a/tests/test_analysis.py
+++ b/tests/test_analysis.py
@@ -1,7 +1,7 @@
 """
 Tests for pygount source code analysis.
 """
-# Copyright (c) 2016-2022, Thomas Aglassinger.
+# Copyright (c) 2016-2023, 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 8fa684f..4e1ad15 100644
--- a/tests/test_command.py
+++ b/tests/test_command.py
@@ -1,7 +1,7 @@
 """
 Tests for pygount command line interface.
 """
-# Copyright (c) 2016-2022, Thomas Aglassinger.
+# Copyright (c) 2016-2023, 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 6cc90bd..6310786 100644
--- a/tests/test_common.py
+++ b/tests/test_common.py
@@ -1,7 +1,7 @@
 """
 Tests for :py:mod:`pygount.common` module.
 """
-# Copyright (c) 2016-2022, Thomas Aglassinger.
+# Copyright (c) 2016-2023, 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 216ce7e..8543735 100644
--- a/tests/test_lexers.py
+++ b/tests/test_lexers.py
@@ -1,7 +1,7 @@
 """
 Tests for additional lexers for pygount.
 """
-# Copyright (c) 2016-2022, Thomas Aglassinger.
+# Copyright (c) 2016-2023, 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 8276b0f..3cec318 100644
--- a/tests/test_summary.py
+++ b/tests/test_summary.py
@@ -1,7 +1,7 @@
 """
 Tests to summarize analyses of multiple source codes.
 """
-# Copyright (c) 2016-2022, Thomas Aglassinger.
+# Copyright (c) 2016-2023, 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 0c8bb27..7c72413 100644
--- a/tests/test_write.py
+++ b/tests/test_write.py
@@ -1,7 +1,7 @@
 """
 Test to write results of pygount analyses.
 """
-# Copyright (c) 2016-2022, Thomas Aglassinger.
+# Copyright (c) 2016-2023, 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 b9d30f3..bae1650 100644
--- a/tests/test_xmldialect.py
+++ b/tests/test_xmldialect.py
@@ -1,7 +1,7 @@
 """
 Tests for function to obtain the language dialect used by XML source code.
 """
-# Copyright (c) 2016-2022, Thomas Aglassinger.
+# Copyright (c) 2016-2023, Thomas Aglassinger.
 # All rights reserved. Distributed under the BSD License.
 import pygount.xmldialect