Skip to content

Commit

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

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.2](astral-sh/ruff-pre-commit@v0.4.1...v0.4.2)

* Update ruff config and address lint error

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Steven Loria <sloria1@gmail.com>
  • Loading branch information
pre-commit-ci[bot] and sloria authored May 2, 2024
1 parent 6e3246d commit f95206e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.1
rev: v0.4.2
hooks:
- id: ruff
- id: ruff-format
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ exclude = ["docs/_build/"]
src = ["src"]
fix = true
show-fixes = true
show-source = true
output-format = "full"

[tool.ruff.lint]
ignore = ["E203", "E266", "E501", "E731"]
Expand Down
2 changes: 1 addition & 1 deletion src/doitlive/python_consoles.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def interact(self, banner=None):
if banner is None:
self.write(f"Python {sys.version} on {sys.platform}\n{cprt}\n")
else:
self.write("%s\n" % str(banner))
self.write(f"{banner}\n")
self.run_commands()


Expand Down

0 comments on commit f95206e

Please sign in to comment.