Skip to content

Commit

Permalink
Rename py3_flake8 to flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
say42 committed Dec 15, 2023
1 parent 518293d commit b9f3120
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion build/plugins/lib/test_const/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"java.style",
"ktlint",
"py2_flake8",
"py3_flake8",
"flake8",
"black",
]
Expand Down
3 changes: 1 addition & 2 deletions build/plugins/pybuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ def get_resolved_files():
flake8_cfg = 'build/config/tests/flake8/flake8.conf'
migrations_cfg = 'build/rules/flake8/migrations.yaml'
resource = "build/external_resources/flake8_py{}".format(py_ver)
# TODO YA-1534: Replace py3_flake8 by flake8 after ya-bin release
lint_name = "py2_flake8" if py_ver == 2 else "py3_flake8"
lint_name = "py2_flake8" if py_ver == 2 else "flake8"
params = [lint_name, "tools/flake8_linter/flake8_linter"]
params += ["FILES"] + resolved_files
params += ["GLOBAL_RESOURCES", resource]
Expand Down

0 comments on commit b9f3120

Please sign in to comment.