Skip to content

Commit

Permalink
build: fix invalid noqa directive
Browse files Browse the repository at this point in the history
ruff 0.0.278 now checks for lowercase noqa directives
see astral-sh/ruff#5571
  • Loading branch information
tekumara committed Jul 15, 2023
1 parent 212105e commit c4f7c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def test_information_schema_columns_snowflake() -> None:
def test_information_schema_tables_ext() -> None:
assert (
sqlglot.parse_one("SELECT * FROM INFORMATION_SCHEMA.TABLES").transform(information_schema_tables_ext).sql()
== "SELECT * FROM INFORMATION_SCHEMA.TABLES LEFT JOIN information_schema.tables_ext ON tables.table_catalog = tables_ext.ext_table_catalog AND tables.table_schema = tables_ext.ext_table_schema AND tables.table_name = tables_ext.ext_table_name" # noqa: e501
== "SELECT * FROM INFORMATION_SCHEMA.TABLES LEFT JOIN information_schema.tables_ext ON tables.table_catalog = tables_ext.ext_table_catalog AND tables.table_schema = tables_ext.ext_table_schema AND tables.table_name = tables_ext.ext_table_name" # noqa: E501
)


Expand Down

0 comments on commit c4f7c7c

Please sign in to comment.