diff --git a/mockups/album-view.jpg b/docs/mockups/album-view.jpg similarity index 100% rename from mockups/album-view.jpg rename to docs/mockups/album-view.jpg diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index 7bbdfab..0000000 --- a/pytest.ini +++ /dev/null @@ -1,8 +0,0 @@ -[pytest] -addopts = - -vvv - --doctest-modules - --ignore-glob='api_object_generator' - --cov=sublime - --cov-report html - --cov-report term diff --git a/setup.cfg b/setup.cfg index 2ce273e..d48b6f6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,3 +36,13 @@ split_before_dot = true split_before_logical_operator = true split_complex_comprehension = true split_before_first_argument = true + +[tool:pytest] +addopts = + -vvv + --doctest-modules + --ignore-glob='api_object_generator' + --ignore-glob='flatpak' + --cov=sublime + --cov-report html + --cov-report term diff --git a/sublime/state_manager.py b/sublime/state_manager.py index d352592..cc09a7b 100644 --- a/sublime/state_manager.py +++ b/sublime/state_manager.py @@ -4,6 +4,9 @@ import json from enum import Enum from typing import List, Optional, Set +import gi +gi.require_version('NetworkManager', '1.0') +gi.require_version('NMClient', '1.0') from gi.repository import NetworkManager, NMClient from .from_json import from_json