From 7cb9dbc4b306e0b589e9dbbd365b8eb5b75a40a5 Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Thu, 19 Dec 2024 09:42:00 +0900 Subject: [PATCH] chore: add pylint configration on pyproject.toml and drop CI check with pylint Signed-off-by: Hiroshi Miura --- .github/workflows/run-linter.yml | 2 +- pyproject.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-linter.yml b/.github/workflows/run-linter.yml index 280cd1c0..8815c28c 100644 --- a/.github/workflows/run-linter.yml +++ b/.github/workflows/run-linter.yml @@ -25,7 +25,7 @@ jobs: pip install .[check] - name: run reviewdog run: | - ./bin/reviewdog -runners=flake8,mypy,pylint -reporter=github-pr-check -conf=.reviewdog.yml + ./bin/reviewdog -runners=flake8,mypy -reporter=github-pr-check -conf=.reviewdog.yml env: REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml index c7d952a0..c469e217 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -110,6 +110,9 @@ source = ["aqt", "tests"] show_missing = true exclude_lines = ["if __name__ == .__main__.:", "pragma: no-cover", "@abstract", "def __repr__"] +[tool.pylint] +max-line-length = 125 + [tool.black] line-length = 125 target-version = ['py312']