fossasia / open-event-server

Consider using all

PY-W0075
Anti-pattern
Major
5 months ago 2 years old
Seen in 1 file
1

Unnecessary use of json.loads() for file data

PY-W0078
Anti-pattern
Major
5 months ago a year old
Seen in 1 file
2

Appending to list immediately following its definition

PY-W0070
Anti-pattern
Major
5 months ago 2 years old
Seen in 1 file
3

Consider iterating dictionary

PYL-C0201
Anti-pattern
Major
5 months ago 2 years old
Seen in 1 file
1

Consider removing the commented out code block

PY-W0069
Anti-pattern
Major
5 months ago 2 years old
Seen in 12 files
23

Imported name is not used anywhere in the module

PY-W2000
Anti-pattern
Major
5 months ago 2 years old
Seen in 1 file
1

Appending to dictionary immediately following its definition

PY-W0072
Anti-pattern
Major
5 months ago 2 years old
Seen in 2 files
2

Bad comparison test

PTC-W0023
Anti-pattern
Minor
5 months ago 4 years old
Seen in 2 files
2

Unnecessary use of getattr

PTC-W0034
Anti-pattern
Major
5 months ago 4 years old
Seen in 3 files
7

if statements can be merged

PTC-W0048
Anti-pattern
Major
5 months ago 3 years old
Seen in 14 files
22

Statement not reachable on execution

PYL-W0101
Anti-pattern
Critical
5 months ago 3 years old
Seen in 1 file
1

Statement has no effect

PYL-W0104
Anti-pattern
Major
5 months ago 4 years old
Seen in 2 files
2

Function/method with an empty body

PTC-W0049
Anti-pattern
Major
5 months ago 3 years old
Seen in 7 files
8

Consider using min builtin

PTC-W0041
Anti-pattern
Major
5 months ago 3 years old
Seen in 1 file
1

f-string used without any expression

PTC-W0027
Anti-pattern
Major
5 months ago 3 years old
Seen in 2 files
3

Empty block of code found

PTC-W0047
Anti-pattern
Major
5 months ago 3 years old
Seen in 1 file
1

Unnecessary None provided as default

PTC-W0039
Anti-pattern
Minor
5 months ago 4 years old
Seen in 1 file
1

Useless return detected

PYL-R1711
Anti-pattern
Minor
5 months ago 4 years old
Seen in 1 file
1

Function with cyclomatic complexity higher than threshold

PY-R1000
Anti-pattern
Minor
5 months ago 8 months old
Seen in 14 files
19

Unit test class with no tests

PTC-W0046
Anti-pattern
Major
5 months ago 3 years old
Seen in 1 file
2

Branches of the if statement have similar implementation

PTC-W0051
Anti-pattern
Major
5 months ago 3 years old
Seen in 1 file
1

Avoid additional packages by specifying --no-install-recommends

DOK-DL3015
Anti-pattern
Major
5 months ago a year old
Seen in 2 files
3

Use wget --progress to avoid excessively bloated build logs

DOK-W1000
Anti-pattern
Minor
5 months ago a year old
Seen in 1 file
1

Found consecutive RUN commands

DOK-W1001
Anti-pattern
Minor
5 months ago a year old
Seen in 1 file
2

Exceptions are overlapping

PYL-W0714
Anti-pattern
Major
5 months ago a year old
Seen in 2 files
6