From c1f25c11e2a7748491382c252d9b53db01be96ce Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 4 Sep 2024 05:03:56 +0200 Subject: [PATCH] ci: lint the whole project This requires a top-level pylintrc file. The previous per-subdir solution was broken (each subdir would need to provide a specfile, or the .vcs-diff-lint.yml file to work correctly). --- .github/workflows/python-diff-lint.yml | 4 ---- pylintrc | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) create mode 120000 pylintrc diff --git a/.github/workflows/python-diff-lint.yml b/.github/workflows/python-diff-lint.yml index d9e431e49..1c100714b 100644 --- a/.github/workflows/python-diff-lint.yml +++ b/.github/workflows/python-diff-lint.yml @@ -17,10 +17,6 @@ jobs: uses: fedora-copr/vcs-diff-lint-action@v1 id: VCS_Diff_Lint with: - subdirectories: | - behave - mock - releng linter_tags: | ruff pylint diff --git a/pylintrc b/pylintrc new file mode 120000 index 000000000..b9776eb81 --- /dev/null +++ b/pylintrc @@ -0,0 +1 @@ +mock/pylintrc \ No newline at end of file