Skip to content

Commit 31cba50

Browse files
committed
.
1 parent a47395b commit 31cba50

File tree

9 files changed

+5
-22
lines changed

9 files changed

+5
-22
lines changed

Diff for: src/slack_helpers/_version.py

-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
# https://github.com/python-versioneer/python-versioneer
1010

1111
"""Git implementation of _version.py."""
12-
from __future__ import annotations
13-
1412
import errno
1513
import functools
1614
import os

Diff for: src/slack_helpers/cli/__init__.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from .main import main
42

53
__all__ = ["main"]

Diff for: src/slack_helpers/cli/main.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# ruff: noqa: T201
2-
from __future__ import annotations
3-
42
import typer
53

64
app = typer.Typer(

Diff for: src/slack_helpers/health/font.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import logging
42
import subprocess
53

Diff for: src/slack_helpers/health/slack.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import logging
42
import os
53

Diff for: src/slack_helpers/send_only.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import logging
42
from io import BytesIO, IOBase
53

Diff for: src/slack_helpers/utils/rich.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import os
42
from collections.abc import Iterable
53
from typing import Any, Literal

Diff for: tools/examples/slack_interactive.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import dotenv
42

53
dotenv.load_dotenv()
@@ -10,11 +8,12 @@
108
from typing import Any
119

1210
import requests
13-
from mlproject.utils import setup_logging
14-
from mlproject.utils.slack import app
15-
from mlproject.utils.slack.interactive import handler
1611
from slack_sdk import WebClient
1712

13+
from slack_helpers import app
14+
from slack_helpers.interactive import handler
15+
from slack_helpers.utils.log import setup_logging
16+
1817
logger = logging.getLogger(__name__)
1918

2019
assert app is not None, "Set environment variables SLACK_* first."

Diff for: tools/examples/slack_send.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from dotenv import load_dotenv
42

53
load_dotenv()
@@ -8,7 +6,7 @@
86
import numpy as np
97
from PIL import Image
108

11-
from slack_helpers.utils.slack.send_only import (
9+
from slack_helpers.send_only import (
1210
send_divider,
1311
send_file,
1412
send_matplotlib_fig,

0 commit comments

Comments
 (0)