bump ruff to v0.0.247 (#9050)

* bump ruff to v0.0.247

* ruff: enable pep8-naming check

rename some camelCased APIs, especially in logger
rename G variables to graph
ignore some variable namings and help messages in dvc.commands
This commit is contained in:
skshetry
2023-02-18 16:50:35 +05:45
committed by GitHub
parent 098685b8f3
commit 1de37556d5
55 changed files with 163 additions and 157 deletions
+3 -3
View File
@@ -158,9 +158,9 @@ def test_refs(tmp_dir, scm, dvc):
tmp_dir.dvc_gen("file", "second", commit="second version")
tmp_dir.dvc_gen("file", "third", commit="third version")
HEAD_2 = digest("first")
HEAD_1 = digest("second")
HEAD = digest("third")
HEAD_2 = digest("first") # noqa: N806
HEAD_1 = digest("second") # noqa: N806
HEAD = digest("third") # noqa: N806
assert dvc.diff("HEAD~1") == {
"added": [],