Skip to content

Commit d508b2e

Browse files
committed
fix pylint and black issues
1 parent 1dce5c1 commit d508b2e

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

auth_user_mgr/_config.py

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def read_yaml_config_file(path: str) -> dict:
1414
except FileNotFoundError as exc:
1515
raise FileNotFoundError(f"Config file not found: {path}") from exc
1616

17+
1718
def read_app_and_users_config(app_config_path: str, user_config_path: str) -> tuple[dict, dict]:
1819
"""Read app and user config files and return a tuple of dicts"""
1920
app_config = read_yaml_config_file(app_config_path)

auth_user_mgr/_email.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
from jinja2 import Template
1010

1111

12-
class Mail:
12+
class Mail: # pylint: disable=too-many-instance-attributes
1313
"""Class for an email with specific template and subject this app will send"""
1414

15-
def __init__(
15+
def __init__( # pylint: disable=too-many-positional-arguments, too-many-arguments
1616
self,
1717
smtp_server: str,
1818
smtp_port: str | int,

auth_user_mgr/_helpers.py

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def make_url(base_url: str, *uris: str, **params: str):
2525
url = f"{url}/?{urlencode(params)}"
2626
return url
2727

28+
2829
def compare_two_lists(list1: list[str], list2: list[str]):
2930
"""
3031
Compares two lists of strings and returns a tuple containing elements

0 commit comments

Comments
 (0)