From d10537368b6f9be27f3e4e2c0aff7ee983173cf8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Dec 2023 18:26:58 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 23.12.0 → 23.12.1](https://github.com/psf/black/compare/23.12.0...23.12.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fa15c80..3ea8ec6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 23.12.0 + rev: 23.12.1 hooks: # code formatter - id: black language: python From 9a8d1c9c1c3e33bc2b103d247fe551576eaa9e5f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Dec 2023 18:27:37 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- python/populse_db/database.py | 1 - python/populse_db/engine/sqlite.py | 3 +-- python/populse_db/filter.py | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/python/populse_db/database.py b/python/populse_db/database.py index a0bbacf..2cf98cd 100644 --- a/python/populse_db/database.py +++ b/python/populse_db/database.py @@ -16,7 +16,6 @@ from datetime import date, datetime, time import six - from populse_db.engine import engine_factory # Field types diff --git a/python/populse_db/engine/sqlite.py b/python/populse_db/engine/sqlite.py index 3ee82ea..9b47c50 100644 --- a/python/populse_db/engine/sqlite.py +++ b/python/populse_db/engine/sqlite.py @@ -25,9 +25,8 @@ import uuid import dateutil -import six - import populse_db.database as pdb +import six from populse_db.engine import Engine from populse_db.filter import FilterToQuery, filter_parser diff --git a/python/populse_db/filter.py b/python/populse_db/filter.py index a86c53d..7bf748f 100644 --- a/python/populse_db/filter.py +++ b/python/populse_db/filter.py @@ -18,7 +18,6 @@ import dateutil.parser import six from lark import Lark, Transformer - from populse_db.database import ListWithKeys # The grammar (in Lark format) used to parse filter strings: