Skip to content

Commit

Permalink
Merge pull request #863 from miurahr/topic/miurahr/pylint-configurati…
Browse files Browse the repository at this point in the history
…on-on-pyproject-toml

chore: add pylint configration on pyproject.toml
  • Loading branch information
miurahr authored Dec 19, 2024
2 parents de441a1 + 7cb9dbc commit 27f15b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit 27f15b7

Please sign in to comment.