Docstring missing for
wrong_callable
150 return a < b and b < c
151
152
153def wrong_callable():154 number = ImaginaryNumber()
155 if hasattr(number, "__call__"):
156 return number()
Docstring missing for
chained_comparison
143 print("Why even?")
144
145
146def chained_comparison():147 a = 1
148 b = 2
149 c = 3
Docstring missing for
check
127 pass
128
129
130def check(x):131 if x == 1 or x == 2 or x == 3:
132 print("Yes")
133 elif x != 2 or x != 3:
Docstring missing for
bad_isinstance
111 subprocess.run(["clear"])
112
113
114def bad_isinstance(initial_condition, object, other_obj, foo, bar, baz):115 if (
116 initial_condition
117 and (
Docstring missing for
tar_something
103 )
104
105
106def tar_something():107 context = ssl._create_stdlib_context()
108 os.tempnam("dir1")
109 subprocess.Popen("/bin/chown *", shell=True)
Docstring missing for
get_active_users
96)
97
98
99def get_active_users():100 global user
101 sqlalchemy.select([user.id, user.name]).where(
102 (user.org == "DeepSource") and (user.active == True)
Docstring missing for
get_users
83 return random.choice(moons)
84
85
86def get_users(): 87 raw = '"username") AS "val" FROM "auth_user" WHERE "username"="admin" --'
88 return User.objects.annotate(val=RawSQL(raw, []))
89
Docstring missing for
moon_chooser
76 f.close()
77
78
79def moon_chooser(moon, moons=["europa", "callisto", "phobos"]): 80 if moon is not None:
81 moons.append(moon)
82
Docstring missing for
main
57 return ImaginaryNumber()
58
59
60def main(options: dict = {}) -> str: 61 pdb.set_trace()
62 if "run" in options:
63 value = options["run"]
Docstring missing for
get_i
53 def __getattr__(self, key):
54 return key
55
56 def get_i(): 57 return ImaginaryNumber()
58
59
Docstring missing for
limits
34class RandomNumberGenerator:
35 """Generate random numbers."""
36
37 def limits(self): 38 return self.limits
39
40 def get_number(self, min_max=[1, 10]):
Docstring missing for
get_number
18 def __init__(self):
19 self.limits = (1, 10)
20
21 def get_number(self, min_max): 22 raise NotImplemented
23
24 @staticmethod
Description
The module/function docstring is missing.
If you want to ignore this, you can configure this in the .deepsource.toml
file. Please refer to docs for available options.