diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 614f6e8a..0c19d3b1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.2.0 hooks: - id: black - repo: https://github.com/pre-commit/mirrors-prettier @@ -33,7 +33,7 @@ repos: additional_dependencies: [types-pkg_resources, types-requests, types-Deprecated] - repo: https://github.com/teemtee/tmt.git - rev: 1.30.0 + rev: 1.31.0 hooks: - id: tmt-lint # Do not run in pre-commit.ci as it requires an internet access @@ -56,7 +56,7 @@ repos: stages: [manual, push] - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.1.11 + rev: v0.2.1 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/ogr/services/pagure/issue.py b/ogr/services/pagure/issue.py index 02e1d017..1fe6014e 100644 --- a/ogr/services/pagure/issue.py +++ b/ogr/services/pagure/issue.py @@ -100,9 +100,9 @@ def __update_info( try: data = { "title": title if title is not None else self.title, - "issue_content": description - if description is not None - else self.description, + "issue_content": ( + description if description is not None else self.description + ), } updated_issue = self.project._call_project_api(