mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 12:44:38 +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]
|
pip install .[check]
|
||||||
- name: run reviewdog
|
- name: run reviewdog
|
||||||
run: |
|
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:
|
env:
|
||||||
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|||||||
@@ -110,6 +110,9 @@ source = ["aqt", "tests"]
|
|||||||
show_missing = true
|
show_missing = true
|
||||||
exclude_lines = ["if __name__ == .__main__.:", "pragma: no-cover", "@abstract", "def __repr__"]
|
exclude_lines = ["if __name__ == .__main__.:", "pragma: no-cover", "@abstract", "def __repr__"]
|
||||||
|
|
||||||
|
[tool.pylint]
|
||||||
|
max-line-length = 125
|
||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
line-length = 125
|
line-length = 125
|
||||||
target-version = ['py312']
|
target-version = ['py312']
|
||||||
|
|||||||
Reference in New Issue
Block a user