update_spec
377 return None
378
379
380def update_spec(repo, res, sem="minor"):381 print(res["version"])
382 if "current_version" not in res or res["current_version"] < res["version"]:
383 log.info("Updating spec %s with semantic %s", repo, sem)
get_rate_limit_url
156 else:
157 return
158
159 def get_rate_limit_url(self):160 return f"{self.api_base}/rate_limit"
161
162 def get(self, url, **kwargs):
is_instance
70 log.info("Using feed URL: %s", feeds[0])
71 self.feed_url = feeds[0]
72
73 def is_instance(self):74 return self.feed_url
75
76 def get_latest(self, pre_ok=False, major=None):
is_instance
29 project = r.json()
30 return project
31
32 def is_instance(self):33 return self.project
34
35 def __init__(self, repo, hostname=None):
is_instance
27 project = response.json()
28 return project
29
30 def is_instance(self):31 return self.project
32
33 def __init__(self, repo, hostname=None):
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.