Skip to content

Commit

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

updates:
- [github.com/PyCQA/autoflake: v2.3.0 → v2.3.1](PyCQA/autoflake@v2.3.0...v2.3.1)
- [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.3.3](astral-sh/ruff-pre-commit@v0.2.2...v0.3.3)
- [github.com/pycqa/bandit: 1.7.7 → 1.7.8](PyCQA/bandit@1.7.7...1.7.8)

* [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>
  • Loading branch information
pre-commit-ci[bot] committed Mar 22, 2024
1 parent f4130fc commit 20abefd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:

# Remove unused imports, variables, statements
- repo: https://github.com/PyCQA/autoflake
rev: v2.3.0
rev: v2.3.1
hooks:
- id: autoflake

Expand All @@ -39,7 +39,7 @@ repos:

# Linter and formatter
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.2
rev: v0.3.3
hooks:
- id: ruff
args:
Expand All @@ -55,7 +55,7 @@ repos:

# Security linter
- repo: https://github.com/pycqa/bandit
rev: 1.7.7
rev: 1.7.8
hooks:
- id: bandit
name: bandit
Expand Down
1 change: 1 addition & 0 deletions product_listings_manager/db_queries.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0+
"""Helper function for managing raw SQL queries"""

import logging
from typing import Any

Expand Down
1 change: 1 addition & 0 deletions product_listings_manager/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
it), in case of testing with other db backend(e.g. sqlite) a value is given
in following definition and it has no side effect to postgresql(composedb).
"""

import os

from opentelemetry.instrumentation.sqlalchemy import SQLAlchemyInstrumentor
Expand Down

0 comments on commit 20abefd

Please sign in to comment.