Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#97)
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.3.7 → v0.4.2](astral-sh/ruff-pre-commit@v0.3.7...v0.4.2)

* fix ruff upgrade rules

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: mscheltienne <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and mscheltienne authored Apr 30, 2024
1 parent 689f2e6 commit d2d214a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ repos:


- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.7
rev: v0.4.2
hooks:
- id: ruff
name: ruff linter
Expand Down
2 changes: 1 addition & 1 deletion nigsp/due.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def _donothing_func(*args, **kwargs):
import logging

logging.getLogger("duecredit").error(
"Failed to import duecredit due to %s" % str(e)
"Failed to import duecredit due to %s", str(e)
)
# Initiate due stub
due = InactiveDueCreditCollector()
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@ select = ['A', 'B', 'E', 'F', 'UP', 'W']
]
'*.pyi' = ['E501']
'__init__.py' = ['F401']
'_version.py' = ['UP031']

0 comments on commit d2d214a

Please sign in to comment.