mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
chore: set up ruff as a new linter/formatter (#28158)
This commit is contained in:
committed by
GitHub
parent
e8a678b75a
commit
2d63722150
@@ -15,6 +15,7 @@
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
"""A collection of ORM sqlalchemy models for SQL Lab"""
|
||||
|
||||
import builtins
|
||||
import inspect
|
||||
import logging
|
||||
@@ -349,7 +350,7 @@ class Query(
|
||||
|
||||
def adhoc_column_to_sqla(
|
||||
self,
|
||||
col: "AdhocColumn", # type: ignore
|
||||
col: "AdhocColumn", # type: ignore # noqa: F821
|
||||
force_type_check: bool = False,
|
||||
template_processor: Optional[BaseTemplateProcessor] = None,
|
||||
) -> ColumnElement:
|
||||
|
||||
Reference in New Issue
Block a user