Skip to content

Commit e006670

Browse files
build(deps-dev): bump black from 23.12.1 to 24.4.0 (#480)
* build(deps-dev): bump black from 23.12.1 to 24.4.0 Bumps [black](https://github.com/psf/black) from 23.12.1 to 24.4.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@23.12.1...24.4.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Run black to reformat the code --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: macbre <[email protected]>
1 parent a310a0d commit e006670

8 files changed

Lines changed: 31 additions & 25 deletions

File tree

poetry.lock

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ python = "^3.8"
1717
sqlparse = ">=0.4.1,<0.6.0"
1818

1919
[tool.poetry.dev-dependencies]
20-
black = "^23.12"
20+
black = "^24.4"
2121
coverage = {extras = ["toml"], version = "^6.5"}
2222
pylint = "^3.1.0"
2323
pytest = "^8.1.1"

sql_metadata/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Module for parsing sql queries and returning columns,
33
tables, names of with statements etc.
44
"""
5+
56
# pylint:disable=unsubscriptable-object
67
from sql_metadata.parser import Parser
78
from sql_metadata.keywords_lists import QueryType

sql_metadata/compat.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from sql_metadata.compat import get_query_columns, get_query_tables
1212
1313
"""
14+
1415
# pylint:disable=missing-function-docstring
1516
from typing import List, Optional, Tuple
1617

sql_metadata/generalizator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Module used to produce generalized sql out of given query
33
"""
4+
45
import re
56
import sqlparse
67

sql_metadata/token.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Module contains internal SQLToken that creates linked list
33
"""
4+
45
from typing import Dict, List, Union
56

67
import sqlparse.sql

sql_metadata/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Module with various utils
33
"""
4+
45
from typing import Any, List, Sequence
56

67

test/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Enable logging when running tests
33
"""
4+
45
import logging
56

67
logging.basicConfig(level=logging.DEBUG)

0 commit comments

Comments
 (0)