Skip to content

Commit

Permalink
🧹 chore: Made peace with Python lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DevaOnBreaches committed Dec 31, 2024
1 parent c7ca811 commit 830242a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def get_breaches_metrics(breaches):
}
date_list = []

year_counts = {year: 0 for year in range(2007, 2026)}
year_counts = {year: 0 for year in range(2007, 2026)}
count_plaintext = count_easy = count_hard = count_unknown = 0
count_aero = count_tran = count_info = count_tele = count_agri = count_cons = (
count_educ
Expand Down Expand Up @@ -1360,7 +1360,9 @@ def get_pastes_metrics(pastes):
get_metrics = {"yearwise_details": []}
y2021 = y2020 = y2019 = y2018 = y2017 = y2016 = y2015 = y2015 = y2014 = (
y2013
) = y2012 = y2011 = y2010 = y2009 = y2008 = y2007 = y2022 = y2023 = y2024 = y2025= 0
) = y2012 = y2011 = y2010 = y2009 = y2008 = y2007 = y2022 = y2023 = y2024 = (
y2025
) = 0
for index_count, count in enumerate(breaches):
key = ds_client.key("xon_paste_master", count)
query = ds_client.get(key)
Expand Down

0 comments on commit 830242a

Please sign in to comment.