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

Commit ac9f7a0

Browse files
chore(deps-dev): bump bandit from 1.7.4 to 1.7.5 (#40)
* chore(deps-dev): bump bandit from 1.7.4 to 1.7.5 Bumps [bandit](https://github.com/PyCQA/bandit) from 1.7.4 to 1.7.5. - [Release notes](https://github.com/PyCQA/bandit/releases) - [Commits](PyCQA/bandit@1.7.4...1.7.5) --- updated-dependencies: - dependency-name: bandit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * ci: mark lines nosec --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrew <andrewthetechie@users.noreply.github.com> Co-authored-by: Andrew Herrington <andrew.the.techie@gmail.com>
1 parent 4c87d97 commit ac9f7a0

File tree

2 files changed

+84
-10
lines changed

2 files changed

+84
-10
lines changed

poetry.lock

Lines changed: 79 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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)