mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-16 20:27:05 +03:00
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:
2
.github/workflows/run-linter.yml
vendored
2
.github/workflows/run-linter.yml
vendored
@@ -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 }}
|
||||
|
||||
|
||||
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user