Skip to content
This repository was archived by the owner on Feb 6, 2025. It is now read-only.

Commit a2e19e1

Browse files
ci: mark lines nosec
1 parent a5aef1c commit a2e19e1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/geekbot_api/clients/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,29 +28,29 @@ def __init__(
2828

2929
def _http_get(self, path: str = "") -> Response:
3030
"""Does a get against the geekbot api, adds "path" to the end of self.api_path"""
31-
r = requests.get(self._get_request_path(path), headers=self.headers)
31+
r = requests.get(self._get_request_path(path), headers=self.headers) # nosec: B113
3232
return r
3333

3434
def _http_put(self, data: Dict, path: str = "") -> Response:
3535
"""Does a put against the geekbot api, adds "path" to the end of self.api_path"""
36-
r = requests.put(self._get_request_path(path), json=data, headers=self.headers)
36+
r = requests.put(self._get_request_path(path), json=data, headers=self.headers) # nosec: B113
3737
return r
3838

3939
def _http_post(self, data: Dict, path: str = "") -> Response:
4040
"""Does a post against the geekbot api, adds "path" to the end of self.api_path"""
41-
r = requests.post(self._get_request_path(path), json=data, headers=self.headers)
41+
r = requests.post(self._get_request_path(path), json=data, headers=self.headers) # nosec: B113
4242
return r
4343

4444
def _http_patch(self, data: Dict, path: str = "") -> Response:
4545
"""Does a post against the geekbot api, adds "path" to the end of self.api_path"""
4646
r = requests.patch(
47-
self._get_request_path(path), json=data, headers=self.headers
47+
self._get_request_path(path), json=data, headers=self.headers # nosec: B113
4848
)
4949
return r
5050

5151
def _http_delete(self, path: str) -> Response:
5252
"""Does a post against the geekbot api, adds "path" to the end of self.api_path"""
53-
r = requests.delete(self._get_request_path(path), headers=self.headers)
53+
r = requests.delete(self._get_request_path(path), headers=self.headers) # nosec: B113
5454
return r
5555

5656
@lru_cache(maxsize=None)

0 commit comments

Comments
 (0)