Update copyright year (#1502)

Update copyright year in comment headers and --version output
This commit is contained in:
Jonathan Wren 2022-06-18 11:30:56 -07:00 committed by GitHub
parent 9639c5386f
commit f5e052937c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
101 changed files with 282 additions and 80 deletions

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import datetime
import fnmatch
import os

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import base64
import hashlib
import logging

View file

@ -1,7 +1,6 @@
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import datetime
import re

View file

@ -1,8 +1,6 @@
# encoding: utf-8
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import codecs
import fnmatch
import os

View file

@ -1,7 +1,6 @@
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import datetime
import logging
import os

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
try:

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import sys

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import argparse

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import logging

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import re
from string import punctuation
from string import whitespace

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
"""
Functions in this file are standalone commands. All standalone commands are split into
two categories depending on whether they require the config to be loaded to be able to
@ -38,7 +41,7 @@ def preconfig_version(_):
version_str = f"""{__title__} version {__version__}
Copyright (C) 2012-2021 jrnl contributors
Copyright (C) 2012-2022 jrnl contributors
This is free software, and you are welcome to redistribute it under certain
conditions; for details, see: https://www.gnu.org/licenses/gpl-3.0.html"""

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import logging
import os

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import logging
import os
import subprocess

View file

@ -1,5 +1,6 @@
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from jrnl.messages import Message
from jrnl.output import print_msg

View file

@ -1,7 +1,6 @@
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import glob
import logging
import os

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import logging

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from typing import NamedTuple
from typing import Mapping

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from enum import Enum
from typing import NamedTuple
from typing import Callable

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from enum import Enum

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from .Message import Message
from .MsgStyle import MsgStyle
from .MsgText import MsgText

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import shlex

View file

@ -1,5 +1,6 @@
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import textwrap
from typing import Union

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from .config import update_config, make_yaml_valid_dict
from argparse import Namespace

View file

@ -1,3 +1,6 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import os.path

View file

@ -1,5 +1,4 @@
# encoding: utf-8
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from .fancy_exporter import FancyExporter

View file

@ -1,6 +1,6 @@
# encoding: utf-8
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from collections import Counter
from .text_exporter import TextExporter

View file

@ -1,5 +1,4 @@
# encoding: utf-8
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from jrnl.exception import JrnlException

View file

@ -1,5 +1,4 @@
# encoding: utf-8
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import sys

View file

@ -1,5 +1,4 @@
# encoding: utf-8
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import json

View file

@ -1,5 +1,4 @@
# encoding: utf-8
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import os

View file

@ -1,5 +1,4 @@
# encoding: utf-8
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from .text_exporter import TextExporter

View file

@ -1,5 +1,4 @@
# encoding: utf-8
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import os

View file

@ -1,5 +1,4 @@
# encoding: utf-8
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html

View file

@ -1,5 +1,4 @@
# encoding: utf-8
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from xml.dom import minidom

View file

@ -1,5 +1,4 @@
# encoding: utf-8
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import os

View file

@ -1,5 +1,6 @@
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from jrnl.messages import Message
from jrnl.messages import MsgText
from jrnl.messages import MsgStyle

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import datetime

View file

@ -1,4 +1,4 @@
# Copyright (C) 2012-2021 jrnl contributors
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
import os