Skip to content

Commit

Permalink
Update dependency prospector-profile-utils to v1.20.2 (#536)
Browse files Browse the repository at this point in the history
* Update dependency prospector-profile-utils to v1.20.2

* Fix new Ruff issues

* Apply pre-commit fix

From the artifact of the previous workflow run

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stéphane Brunner <[email protected]>
Co-authored-by: geo-ghci-int[bot] <146321879+geo-ghci-int[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 11, 2025
1 parent 751a136 commit 4c1177d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ repos:
- --profile=utils:autofix
additional_dependencies:
- prospector-profile-duplicated==1.10.4 # pypi
- prospector-profile-utils==1.19.3 # pypi
- prospector-profile-utils==1.20.2 # pypi
- ruff==0.9.4 # pypi
- id: prospector
args:
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jinja2 = "3.1.5"

[tool.poetry.group.dev.dependencies]
prospector = { version = "1.14.1", extras = ["with_bandit", "with_mypy", "with_pyroma", "with_ruff"] }
prospector-profile-utils = "1.20.0"
prospector-profile-utils = "1.20.2"
prospector-profile-duplicated = "1.10.4"
pytest = "8.3.4"
types-docutils = "0.21.0.20241128"
Expand Down
4 changes: 2 additions & 2 deletions sphinx_prompt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self) -> None:
self.next_index = 1
self.prompts: dict[str, int] = {}

def clear(self, *args: Any) -> None: # noqa: ANN401
def clear(self, *args: Any) -> None:
"""Clear all cache."""
del args
self.next_index = 1
Expand Down Expand Up @@ -109,7 +109,7 @@ def run(self) -> list[nodes.raw]:
html += '<style type="text/css">\n' + styles + "</style>"
latex = "\\begin{Verbatim}[commandchars=\\\\\\{\\}]"

Lexer = LEXERS.get(language, TextLexer) # noqa: N806, pylint: disable=invalid-name
Lexer = LEXERS.get(language, TextLexer) # noqa: N806 # pylint: disable=invalid-name

statement: list[str] = []
if "auto" in modifiers:
Expand Down

0 comments on commit 4c1177d

Please sign in to comment.