From 987bdaf237457f5ac494ee660d1f249c2a28d67c Mon Sep 17 00:00:00 2001 From: iequidoo Date: Fri, 26 Jan 2024 13:08:40 -0300 Subject: [PATCH] ci: Add/remove necessary newlines to fix Python lint --- deltachat-rpc-client/src/deltachat_rpc_client/__init__.py | 1 + deltachat-rpc-client/src/deltachat_rpc_client/client.py | 1 + deltachat-rpc-client/src/deltachat_rpc_client/events.py | 1 + python/src/deltachat/account.py | 1 - 4 files changed, 3 insertions(+), 1 deletion(-) diff --git a/deltachat-rpc-client/src/deltachat_rpc_client/__init__.py b/deltachat-rpc-client/src/deltachat_rpc_client/__init__.py index 6589813ae..2fef315ef 100644 --- a/deltachat-rpc-client/src/deltachat_rpc_client/__init__.py +++ b/deltachat-rpc-client/src/deltachat_rpc_client/__init__.py @@ -1,4 +1,5 @@ """Delta Chat JSON-RPC high-level API""" + from ._utils import AttrDict, run_bot_cli, run_client_cli from .account import Account from .chat import Chat diff --git a/deltachat-rpc-client/src/deltachat_rpc_client/client.py b/deltachat-rpc-client/src/deltachat_rpc_client/client.py index 04f792dd1..85cc18dee 100644 --- a/deltachat-rpc-client/src/deltachat_rpc_client/client.py +++ b/deltachat-rpc-client/src/deltachat_rpc_client/client.py @@ -1,4 +1,5 @@ """Event loop implementations offering high level event handling/hooking.""" + import logging from typing import ( TYPE_CHECKING, diff --git a/deltachat-rpc-client/src/deltachat_rpc_client/events.py b/deltachat-rpc-client/src/deltachat_rpc_client/events.py index b90b6e045..8d20f7454 100644 --- a/deltachat-rpc-client/src/deltachat_rpc_client/events.py +++ b/deltachat-rpc-client/src/deltachat_rpc_client/events.py @@ -1,4 +1,5 @@ """High-level classes for event processing and filtering.""" + import re from abc import ABC, abstractmethod from typing import TYPE_CHECKING, Callable, Iterable, Iterator, Optional, Set, Tuple, Union diff --git a/python/src/deltachat/account.py b/python/src/deltachat/account.py index 2bc0c2969..8b4e804ae 100644 --- a/python/src/deltachat/account.py +++ b/python/src/deltachat/account.py @@ -1,6 +1,5 @@ """Account class implementation.""" - import os from array import array from contextlib import contextmanager