Update copyright for 2023

Includes minor reformatting by new black version as all python files
were changed.
This commit is contained in:
karlch 2023-01-03 17:01:17 +01:00
parent 70226dc525
commit f1a3700bfb
207 changed files with 216 additions and 219 deletions

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Ensure the c-extension has been build inplace for testing.

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Custom checkers for pylint."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Checkers to ensure count is treated correctly."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Additional docstring checkers."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Checker to ensure each python file includes a modeline and copyright notice."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Utility functions to create reST files."""

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Generate reST documentation from source code docstrings."""

View File

@ -2,7 +2,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Script to print the vimiv history of a given mode.

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import ast

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Fixtures for pytest."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Fixtures and bdd-given steps related to setup and cleanup for end2end testing."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import os

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import os

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import time

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import contextlib

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import os

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Fixtures and bdd-like steps for usage during end2end testing."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import os

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import imghdr

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
from PyQt5.QtGui import QResizeEvent

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import math

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
from PyQt5.QtGui import QGuiApplication, QClipboard
@ -49,10 +49,7 @@ def check_clipboard_image_height(clipboard, height):
@bdd.then(bdd.parsers.parse("The clipboard should contain an image with size {size}"))
def check_clipboard_image_size(clipboard, size):
assert (
max(
clipboard.pixmap(mode=QClipboard.Clipboard).size().height(),
clipboard.pixmap(mode=QClipboard.Clipboard).size().width(),
)
== int(size)
)
assert max(
clipboard.pixmap(mode=QClipboard.Clipboard).size().height(),
clipboard.pixmap(mode=QClipboard.Clipboard).size().width(),
) == int(size)

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import os

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import io

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
from PyQt5.QtGui import QPixmap

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import contextlib

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import pytest_bdd as bdd

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Module to patch vimiv decorators before import."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Integration tests."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Common fixtures for integration testing."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Integration tests for vimiv.app.

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Integration tests related to editing images."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Integration tests related to reading keybindings from configuration file."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Integration tests related to reading settings from configuration file."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Unit tests."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for vimiv.config.keybindings."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for vimiv.api._mark."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for vimiv.api.objreg."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for vimiv.api.prompt."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for vimiv.config.settings."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for vimiv.api.status."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for vimiv.commands.aliases."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for types in vimiv.commands.argtypes."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for vimiv.commands."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for commands.history.History."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for commands.history.HistoryDeque."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for vimiv.commands.runners."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for vimiv.commands.search"""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for vimiv.commands.wildcards."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Unit tests for vimiv.config."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Unit tests for vimiv.config.external_configparser."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
import configparser

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for vimiv.gui.eventhandler."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for vimiv.gui.statusbar."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for vimiv.gui.thumbnail."""

View File

@ -1,7 +1,7 @@
# vim: ft=python fileencoding=utf-8 sw=4 et sts=4
# This file is part of vimiv.
# Copyright 2017-2022 Christian Karl (karlch) <karlch at protonmail dot com>
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
"""Tests for vimiv.imutils.exif."""

Some files were not shown because too many files have changed in this diff Show More