Skip to content

Commit

Permalink
integrate pylint to pyproject.toml (#752)
Browse files Browse the repository at this point in the history
* to go further to make the pyproject.toml the main entrypoint for config
* pyproject.toml is respected by most IDEs
  • Loading branch information
ekneg54 authored Feb 4, 2025
1 parent 12b6e7d commit b949d7b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
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"

0 comments on commit b949d7b

Please sign in to comment.