File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1515 python-version : " 3.12"
1616 - name : Install dependencies
1717 run : |
18- python -m pip install --upgrade pip
18+ pip install -r css-reports/requirements.txt
1919 pip install pylint
2020 - name : Analysing the code with pylint
2121 run : |
5353 python-version : " 3.12"
5454 - name : Install dependencies
5555 run : |
56- python -m pip install --upgrade pip
56+ pip install -r css-reports/requirements.txt
5757 pip install ruff
5858 - name : Analysing the code with ruff
5959 run : ruff check --no-fix --output-format=github
Original file line number Diff line number Diff line change @@ -86,7 +86,9 @@ async def fetch_report_url_and_cookies(
8686 f"https://www.guildofstudents.com/organisation/salesreports/{ org_id } /"
8787 )
8888
89- data_fields , cookies = await get_msl_context (url = SALES_REPORTS_URL , auth_cookie = auth_cookie )
89+ data_fields , cookies = await get_msl_context (
90+ url = SALES_REPORTS_URL , auth_cookie = auth_cookie
91+ )
9092
9193 form_data : dict [str , str ] = {
9294 SALES_FROM_DATE_KEY : from_date .strftime ("%d/%m/%Y" ),
@@ -108,7 +110,7 @@ async def fetch_report_url_and_cookies(
108110 )
109111 async with (
110112 session_v2 ,
111- session_v2 .post (url = SALES_REPORTS_URL , data = data_fields ) as http_response
113+ session_v2 .post (url = SALES_REPORTS_URL , data = data_fields ) as http_response ,
112114 ):
113115 if http_response .status != 200 :
114116 print ("Returned a non 200 status code!!" )
You can’t perform that action at this time.
0 commit comments