uselotus / lotus

File .deepsource.toml not found in the default branch of the repository root. Please refer to the docs.

Unnecessary use of getattr

PTC-W0034
Anti-pattern
Major
a year ago a year old
Seen in 1 file
3

if statements can be merged

PTC-W0048
Anti-pattern
Major
a year ago a year old
Seen in 3 files
3

Unnecessary generator

PTC-W0015
Anti-pattern
Major
a year ago a year old
Seen in 2 files
3

f-string used without any expression

PTC-W0027
Anti-pattern
Major
a year ago a year old
Seen in 3 files
7

Consider removing the commented out code block

PY-W0069
Anti-pattern
Major
a year ago a year old
Seen in 12 files
30

Found shorthand type coercions

JS-0066
Anti-pattern
Minor
a year ago a year old
Seen in 5 files
6

Useless inheritance from object

PYL-R0205
Anti-pattern
Major
a year ago a year old
Seen in 1 file
1

Unnecessary None provided as default

PTC-W0039
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
1

Variable assigned to itself

PYL-W0127
Anti-pattern
Minor
a year ago a year old
Seen in 2 files
4

Consider merging isinstance calls

PYL-R1701
Anti-pattern
Major
a year ago a year old
Seen in 1 file
4

Appending to dictionary immediately following its definition

PY-W0072
Anti-pattern
Major
a year ago a year old
Seen in 1 file
1

Imported name is not used anywhere in the module

PY-W2000
Anti-pattern
Major
a year ago a year old
Seen in 36 files
99

Prefer boolean attributes notation in JSX

JS-0400
Anti-pattern
Minor
a year ago a year old
Seen in 9 files
16

Use of an unneeded not detected

PYL-C0113
Anti-pattern
Major
a year ago a year old
Seen in 1 file
1

Found unnecessary computed property keys in object literals

JS-0236
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
2

Consider iterating dictionary

PYL-C0201
Anti-pattern
Major
a year ago a year old
Seen in 1 file
1

if expression used can be simplified

PYL-R1719
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
1

Unnecessary literal

PTC-W0018
Anti-pattern
Minor
a year ago a year old
Seen in 2 files
17

Bad comparison test

PTC-W0023
Anti-pattern
Minor
a year ago a year old
Seen in 5 files
7

Invalid async keyword

JS-0376
Anti-pattern
Minor
a year ago a year old
Seen in 2 files
2

Consider using let or const instead of var

JS-0239
Anti-pattern
Major
a year ago a year old
Seen in 4 files
9

Prefer that non-interactive, visible elements (such as <div>) that have click handlers use the role attribute

JS-0765
Anti-pattern
Minor
a year ago a year old
Seen in 8 files
12

Unnecessary concatenation of literals or template literals found

JS-0096
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
2

Found unnecessary fragments

JS-0424
Anti-pattern
Major
a year ago a year old
Seen in 2 files
2

Validation of JSX maximum depth

JS-0415
Anti-pattern
Minor
a year ago a year old
Seen in 41 files
354