Skip to content

Commit

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

updates:
- [github.com/codespell-project/codespell: v2.2.4 → v2.2.5](codespell-project/codespell@v2.2.4...v2.2.5)
- https://github.com/charliermarsh/ruff-pre-commithttps://github.com/astral-sh/ruff-pre-commit
- [github.com/astral-sh/ruff-pre-commit: v0.0.270 → v0.0.286](astral-sh/ruff-pre-commit@v0.0.270...v0.0.286)
- [github.com/psf/black: 23.3.0 → 23.7.0](psf/black@23.3.0...23.7.0)
- [github.com/pre-commit/mirrors-mypy: v1.3.0 → v1.5.1](pre-commit/mirrors-mypy@v1.3.0...v1.5.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: studioj <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and studioj authored Sep 3, 2023
1 parent 8a3debe commit 0d6b7eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
- id: check-yaml
files: .*\.(yaml|yml)$
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
rev: v2.2.5
hooks:
- id: codespell
name: codespell
Expand All @@ -26,13 +26,13 @@ repos:
args: []
require_serial: false
additional_dependencies: []
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.270"
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.0.286"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/psf/black # after ruff, as ruff output may need fixing
rev: 23.3.0
rev: 23.7.0
hooks:
- id: black
language_version: python3
Expand All @@ -42,7 +42,7 @@ repos:
- id: yamllint
files: \.(yaml|yml)$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.3.0
rev: v1.5.1
hooks:
- id: mypy
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion jira/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2044,7 +2044,7 @@ def add_remote_link(
# we just won't be able to be quite as helpful.
warnings.warn(
"Unable to gather applicationlinks; you will not be able "
"to add links to remote issues: ({}) {}".format(e.status_code, e.text),
f"to add links to remote issues: ({e.status_code}) {e.text}",
Warning,
)

Expand Down

0 comments on commit 0d6b7eb

Please sign in to comment.