Closed CelsusDB closed 1 year ago
Clean code, get rid of non-used sets and vars.
Basic - [selfcord/api/errors.py] - Updated formatting [selfcord/api/events.py] - Updated formatting, deleted one time vars that were not used anywhere else line: 113, 132, 149 179 & 195
if i+99 > amount: ranges.append([i, self.roundup(i + (amount - i)) - 1]) else: ranges.append([i, i+99])
->
ranges.append([i, self.roundup(i + (amount - i)) - 1]) if i + 99 > amount else ranges.append([i, i+99])
54: remove_dupes() - self, dict : Just return a set, no need for looping though the dictionary
More updates you can look in commits.
Clean code, get rid of non-used sets and vars.
Basic - [selfcord/api/errors.py] - Updated formatting [selfcord/api/events.py] - Updated formatting, deleted one time vars that were not used anywhere else line: 113, 132, 149 179 & 195
->
54: remove_dupes() - self, dict : Just return a set, no need for looping though the dictionary
More updates you can look in commits.