Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
default_stages: [push]
repos:
- repo: https://github.com/pre-commit/mirrors-pylint
rev: v2.3.1
rev: v2.4.3
hooks:
- id: pylint
files: libraries
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def __init__(self, dialog_state: StatePropertyAccessor = None):
except KeyError:
raise TypeError("DialogSet(): dialog_state cannot be None.")
# Only ComponentDialog can initialize with None dialog_state
# pylint: disable=import-outside-toplevel
from .component_dialog import ComponentDialog

if not isinstance(self_obj, ComponentDialog):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def attempt_count(self) -> int:
"""
Gets the number of times the prompt has been executed.
"""
# pylint: disable=import-outside-toplevel
from botbuilder.dialogs.prompts import Prompt

return self.state.get(Prompt.ATTEMPT_COUNT_KEY, 0)
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ async def authenticate_emulator_token(
:return: A valid ClaimsIdentity.
:raises Exception:
"""
# pylint: disable=import-outside-toplevel
from .jwt_token_validation import JwtTokenValidation

open_id_metadata = (
Expand Down
1 change: 1 addition & 0 deletions libraries/botframework-connector/tests/test_attachments.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

async def get_auth_token():
try:
# pylint: disable=import-outside-toplevel
from .app_creds_real import MICROSOFT_APP_ID, MICROSOFT_APP_PASSWORD

# Define a "app_creds_real.py" file with your bot credentials as follows:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

async def get_auth_token():
try:
# pylint: disable=import-outside-toplevel
from .app_creds_real import MICROSOFT_APP_ID, MICROSOFT_APP_PASSWORD

# Define a "app_creds_real.py" file with your bot credentials as follows:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

async def get_auth_token():
try:
# pylint: disable=import-outside-toplevel
from .app_creds_real import MICROSOFT_APP_ID, MICROSOFT_APP_PASSWORD

# Define a "app_creds_real.py" file with your bot credentials as follows:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

async def get_auth_token():
try:
# pylint: disable=import-outside-toplevel
from .app_creds_real import MICROSOFT_APP_PASSWORD, MICROSOFT_APP_ID

# # Define a "app_creds_real.py" file with your bot credentials as follows:
Expand Down