Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/python-udwf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# specific language governing permissions and limitations
# under the License.

from __future__ import annotations

import datafusion
import pyarrow as pa
from datafusion import col, lit, udwf
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ features = ["substrait"]

# Enable docstring linting using the google style guide
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "D", "W", "I"]
select = ["E4", "E7", "E9", "F", "FA", "D", "W", "I"]

[tool.ruff.lint.pydocstyle]
convention = "google"
Expand Down
2 changes: 2 additions & 0 deletions python/datafusion/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

"""IO read functions using global context."""

from __future__ import annotations

import pathlib

import pyarrow
Expand Down
2 changes: 2 additions & 0 deletions python/tests/test_udaf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# specific language governing permissions and limitations
# under the License.

from __future__ import annotations

from typing import List

import pyarrow as pa
Expand Down
2 changes: 2 additions & 0 deletions python/tests/test_udwf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# specific language governing permissions and limitations
# under the License.

from __future__ import annotations

import pyarrow as pa
import pytest
from datafusion import SessionContext, column, lit, udwf
Expand Down