Skip to content

AddMoreEvents

5e11367
Select commit
Loading
Failed to load commit list.
Draft

Rewrite events.py to improve the look and information in the logs #1553

AddMoreEvents
5e11367
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed Jun 11, 2026 in 3s

35 issues found.

Annotations

Check notice on line 494 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L494

Line too long (129/100) (line-too-long)

Check notice on line 404 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L404

Line too long (125/100) (line-too-long)

Check notice on line 314 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L314

Line too long (113/100) (line-too-long)

Check notice on line 87 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L87

Line too long (103/100) (line-too-long)

Check notice on line 244 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L244

Line too long (137/100) (line-too-long)

Check notice on line 559 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L559

Line too long (136/100) (line-too-long)

Check notice on line 5 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L5

Unused import datetime (unused-import)

Check notice on line 224 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L224

Line too long (154/100) (line-too-long)

Check notice on line 1192 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L1192

String statement has no effect (pointless-string-statement)

Check notice on line 170 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L170

Line too long (162/100) (line-too-long)

Check notice on line 31 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L31

Line too long (142/100) (line-too-long)

Check notice on line 73 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L73

Missing function or method docstring (missing-function-docstring)

Check notice on line 83 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L83

Missing function or method docstring (missing-function-docstring)

Check notice on line 96 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L96

Missing function or method docstring (missing-function-docstring)

Check notice on line 58 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L58

Missing function or method docstring (missing-function-docstring)

Check notice on line 41 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L41

Missing function or method docstring (missing-function-docstring)

Check notice on line 47 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L47

Missing function or method docstring (missing-function-docstring)

Check notice on line 113 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L113

Missing function or method docstring (missing-function-docstring)

Check notice on line 514 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L514

Missing function or method docstring (missing-function-docstring)

Check notice on line 569 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L569

Line too long (158/100) (line-too-long)

Check notice on line 547 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L547

Missing function or method docstring (missing-function-docstring)

Check notice on line 536 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L536

Line too long (147/100) (line-too-long)

Check notice on line 124 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L124

Missing function or method docstring (missing-function-docstring)

Check notice on line 702 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L702

Missing function or method docstring (missing-function-docstring)

Check notice on line 652 in modules/moderation/events.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

modules/moderation/events.py#L652

Missing function or method docstring (missing-function-docstring)