From b5c9469a0f3c9421c1d1f08d8d3169c73a830e25 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 d9e431e4..1c100714 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 00000000..b9776eb8 --- /dev/null +++ b/pylintrc @@ -0,0 +1 @@ +mock/pylintrc \ No newline at end of file