Skip to content

Commit

Permalink
lns: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
drjova committed Feb 5, 2024
1 parent f4ec610 commit 1ba289a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
1 change: 0 additions & 1 deletion Library-Notification-Service/src/api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Module interacting with library catalogue api"""


import json
import urllib.parse
from typing import List
Expand Down
12 changes: 11 additions & 1 deletion Library-Notification-Service/src/env.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Module to retreive/declare the environment variables."""


import os

MAX_NOTIFICATION_RESULTS_COUNT = os.environ["MAX_NOTIFICATION_RESULTS_COUNT"]
Expand All @@ -20,3 +19,14 @@
NOTIFICATIONS_API_URL = os.environ["NOTIFICATIONS_API_URL"]
NOTIFICATIONS_API_SECRET = os.environ["NOTIFICATIONS_API_SECRET"]
NOTIFICATIONS_CHANNEL_ID = os.environ["NOTIFICATIONS_CHANNEL_ID"]


"""
export MAX_NOTIFICATION_RESULTS_COUNT=20
export LIBRARY_CATALOGUE_SITE_API="https://catalogue.library.cern/api/literature/?q="
export LIBRARY_CATALOGUE_SITE_URL="https://catalogue.library.cern/search?q="
export LIBRARY_CATALOGUE_BACKOFFICE_ITEMS_API="https://catalogue.library.cern/api/items/?q="
export LIBRARY_CATALOGUE_BACKOFFICE_EITEMS_API="https://catalogue.library.cern/api/eitems/?q="
export NOTIFICATIONS_API_URL="https://notifications.web.cern.ch/api/notifications"
export NOTIFICATIONS_CHANNEL_ID="4e383ca0-7df0-421f-a062-741d5d459cd8"
"""
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""The command line module containing all the commands to filter documents."""


from typing import Tuple

import click
Expand Down

0 comments on commit 1ba289a

Please sign in to comment.