Skip to content

Commit

Permalink
Ensure diff-quality runs the correct SQLFluff (sqlfluff#4175)
Browse files Browse the repository at this point in the history
  • Loading branch information
barrywhart authored Dec 16, 2022
1 parent 94f69fe commit 09866c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sqlfluff/diff_quality_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class SQLFluffDriver(QualityDriver):

def __init__(self):
super().__init__(
"sqlfluff",
[sys.executable, "-m", "sqlfluff.cli.commands"],
[".sql"],
[
s.encode(sys.getfilesystemencoding())
Expand Down

0 comments on commit 09866c3

Please sign in to comment.