Skip to content

Commit

Permalink
Linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Nov 22, 2024
1 parent 827963a commit d2d2165
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 3 additions & 1 deletion fedcloud_vm_monitoring/accounting.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
import httpx

ACCOUNTING_URL = "https://accounting.egi.eu/"
SITE_VO_ACCOUNTING = "cloud/sum_elap_processors/SITE/VO/{start_year}/{start_month}/{end_year}/{end_month}/all/onlyinfrajobs/JSON/"
SITE_VO_ACCOUNTING = ("cloud/sum_elap_processors/SITE/VO/"
"{start_year}/{start_month}/{end_year}/{end_month}"
"/all/onlyinfrajobs/JSON/")


class Accounting:
Expand Down
4 changes: 0 additions & 4 deletions fedcloud_vm_monitoring/goc.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
"""Classes to interact with the GOCDB"""

import datetime
import numbers
import re
import pprint

import httpx
import xmltodict
import yaml

GOC_PUBLIC_URL = "https://goc.egi.eu/gocdbpi/public/"
GOC_PRIVATE_URL = "https://goc.egi.eu/gocdbpi/private/"
Expand Down
4 changes: 0 additions & 4 deletions fedcloud_vm_monitoring/site_accounting_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
import yaml

from fedcloud_vm_monitoring.accounting import Accounting
from fedcloud_vm_monitoring.appdb import AppDB
from fedcloud_vm_monitoring.goc import GOCDB
from fedcloud_vm_monitoring.site_monitor import SiteMonitor, SiteMonitorException
from fedcloudclient.decorators import oidc_params
from fedcloudclient.sites import list_sites


def check_site_slas(site, site_slas, goc, acct):
Expand Down

0 comments on commit d2d2165

Please sign in to comment.