Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 17, 2024
1 parent 1d6fd0c commit a80da4e
Show file tree
Hide file tree
Showing 51 changed files with 102 additions and 1 deletion.
2 changes: 2 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import nox
from nox.sessions import Session

Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from pathlib import Path

import dask.dataframe as dd
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q1.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q1

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q10.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q10

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q11.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q11

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q12.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q12

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q13.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q13

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q14.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q14

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q15.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q15

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q16.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q16

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q17.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q17

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q18.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q18

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q19.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q19

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q2.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q2

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q20.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q20

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q21.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q21

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q22.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q22

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q3.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q3

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q4.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q4

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q5.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q5

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q6.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q6

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q7.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q7

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q8.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q8

from . import IO_FUNCS
Expand Down
2 changes: 2 additions & 0 deletions tpch/execute/q9.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from queries import q9

from . import IO_FUNCS
Expand Down
4 changes: 3 additions & 1 deletion tpch/generate_data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from pathlib import Path # noqa: INP001
from __future__ import annotations

from pathlib import Path

import duckdb
import pyarrow as pa
Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q1.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from datetime import datetime

import narwhals as nw
Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q10.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from datetime import datetime

import narwhals as nw
Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q11.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import narwhals as nw
from narwhals.typing import FrameT

Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q12.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from datetime import datetime

import narwhals as nw
Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q13.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import narwhals as nw
from narwhals.typing import FrameT

Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q14.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from datetime import datetime

import narwhals as nw
Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q15.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from datetime import datetime

import narwhals as nw
Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q16.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import narwhals as nw
from narwhals.typing import FrameT

Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q17.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import narwhals as nw
from narwhals.typing import FrameT

Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q18.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import narwhals as nw
from narwhals.typing import FrameT

Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q19.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import narwhals as nw
from narwhals.typing import FrameT

Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q2.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import narwhals as nw
from narwhals.typing import FrameT

Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q20.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from datetime import datetime

import narwhals as nw
Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q21.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import narwhals as nw
from narwhals.typing import FrameT

Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q22.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import narwhals as nw
from narwhals.typing import FrameT

Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q3.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from datetime import datetime

import narwhals as nw
Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q4.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from datetime import datetime

import narwhals as nw
Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q5.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from datetime import datetime

import narwhals as nw
Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q6.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from datetime import datetime

import narwhals as nw
Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q7.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from datetime import datetime

import narwhals as nw
Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q8.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from datetime import date

import narwhals as nw
Expand Down
2 changes: 2 additions & 0 deletions tpch/queries/q9.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import narwhals as nw
from narwhals.typing import FrameT

Expand Down
2 changes: 2 additions & 0 deletions tpch/tests/queries_test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import subprocess
import sys
from pathlib import Path
Expand Down
2 changes: 2 additions & 0 deletions utils/check_api_reference.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import os
import sys

Expand Down
1 change: 1 addition & 0 deletions utils/check_for_no_build_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
This is just used in CI.
"""
from __future__ import annotations

import sys

Expand Down
2 changes: 2 additions & 0 deletions utils/generate_random_versions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import random

PANDAS_AND_NUMPY_VERSION = [
Expand Down

0 comments on commit a80da4e

Please sign in to comment.