Skip to content

Commit

Permalink
print - lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Wellheor1 committed Sep 11, 2023
1 parent 5286c4e commit 26b5f62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions education/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get_enrollees(connection_string, list_id: list):
enrollees_application_data = get_application_by_id(connection_string, list_id_str)
enrollees_achievements = get_achievements_by_id(connection_string, list_id_str)
except (OperationalError, InterfaceError):
print('Database connection error')
print('Database connection error') # noqa: F201
return (
enrollees_person_data,
enrollees_grades,
Expand All @@ -56,7 +56,7 @@ def get_ids_changes_enrollees(connection_string: str):
try:
changes_log = get_changes(connection_string, last_time_str)
except (OperationalError, InterfaceError):
print('Database connection error')
print('Database connection error') # noqa: F201
else:
curren_log = None
for curren_log in changes_log:
Expand Down

0 comments on commit 26b5f62

Please sign in to comment.