Skip to content

Commit 58f6021

Browse files
committed
More ruff formatting suggestions
1 parent 740c65b commit 58f6021

File tree

3 files changed

+138
-101
lines changed

3 files changed

+138
-101
lines changed

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,13 @@ features = ["substrait"]
6767
# Enable docstring linting using the google style guide
6868
[tool.ruff.lint]
6969
select = ["ALL" ]
70-
ignore = ["COM812", "ISC001", "TD002"] # Recommended to ignore these rules when using with ruff-format
70+
ignore = [
71+
"ANN401", # Allow Any for wrapper classes
72+
"COM812", # Recommended to ignore these rules when using with ruff-format
73+
"ISC001", # Recommended to ignore these rules when using with ruff-format
74+
"TD002",
75+
"UP007" # Disallowing Union is pedantic
76+
]
7177

7278
[tool.ruff.lint.pydocstyle]
7379
convention = "google"

python/datafusion/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@
8686
"read_json",
8787
"read_parquet",
8888
"substrait",
89+
"udaf",
90+
"udf",
91+
"udwf",
8992
]
9093

9194

0 commit comments

Comments
 (0)