Merge pull request #863 from miurahr/topic/miurahr/pylint-configuration-on-pyproject-toml

chore: add pylint configration on pyproject.toml
This commit is contained in:
Hiroshi Miura
2024-12-19 09:56:02 +09:00
committed by GitHub
2 changed files with 4 additions and 1 deletions

View File

@@ -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 }}

View File

@@ -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']