我已将https://github.com/sebdah/git-pylint-commit-hook应用于我的git repo,并且当它检测到FAILED低分源文件时,它仍然进行提交。
但是在文档中,它表示将停止提交,因为Pylint得分太低。 DELETE H
FROM broadband_usage_history H
INNER JOIN
(
SELECT *, ROW_NUMBER() OVER (PARTITION BY Columns_Should_Be_Unique ORDER BY call_timestamp) AS rn
FROM broadband_usage_history
) A
ON A.Columns_Should_Be_Unique =H.Columns_Should_Be_Unique
WHERE A.rn > 1;
我在这里迷路了。
Any lower than this, and the script will fail and won't commit.