Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integrate pylint to pyproject.toml #752

Merged
merged 1 commit into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions .pylintrc

This file was deleted.

22 changes: 22 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,25 @@ skip = "*pp* *i686-unknown-linux-musl*"
archs = "x86_64 i686 aarch64"
before-build = "curl -sSf https://sh.rustup.rs | sh -s -- -y"
environment = 'PATH=$HOME/.cargo/bin:$PATH'

[tool.pylint.MAIN]
ignore = ".venv"

[tool.pylint.FORMAT]
max-line-length=100

[tool.pylint.BASIC]
no-docstring-rgx="^test_|^.*TestCase|^_|^Test"

["tool.pylint.MESAGES CONTROL"]
disable="too-few-public-methods"

[tool.pylint.DESIGN]
min-public-methods=1
max-public-methods=40
max-attributes=12

[tool.pylint.CLASSES]

# List of method names used to declare (i.e. assign) instance attributes.
defining-attr-methods="__init__,__new__,setUp"
Loading