Skip to content

Commit

Permalink
Move pylint disable to proper line.
Browse files Browse the repository at this point in the history
  • Loading branch information
smk4664 committed Oct 28, 2022
1 parent 6ca56fc commit bb7816c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nautobot_chatops/sockets/slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

async def main(): # pylint: disable=too-many-statements
"""Slack Socket Main Loop."""
SLASH_PREFIX = settings.PLUGINS_CONFIG["nautobot_chatops"].get(
SLASH_PREFIX = settings.PLUGINS_CONFIG["nautobot_chatops"].get( # pylint:disable=invalid-name
"slack_slash_command_prefix"
) # pylint:disable=invalid-name
)
client = SocketModeClient(
app_token=settings.PLUGINS_CONFIG["nautobot_chatops"].get("slack_app_token"),
web_client=AsyncWebClient(token=settings.PLUGINS_CONFIG["nautobot_chatops"]["slack_api_token"]),
Expand Down

0 comments on commit bb7816c

Please sign in to comment.