Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#833)
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate

updates:

github.com/psf/black: 23.12.1 → 24.2.0
github.com/teemtee/tmt.git: 1.30.0 → 1.31.0
github.com/astral-sh/ruff-pre-commit: v0.1.11 → v0.2.1

Reviewed-by: Laura Barcziová
  • Loading branch information
softwarefactory-project-zuul[bot] authored Feb 14, 2024
2 parents ea0f054 + 212b280 commit a8a3bc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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]
6 changes: 3 additions & 3 deletions ogr/services/pagure/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit a8a3bc1

Please sign in to comment.