Skip to content

Instantly share code, notes, and snippets.

@Bahus
Created May 16, 2022 19:02
Show Gist options
  • Save Bahus/8a4b642e9f8ca33cd6c056a39bad22af to your computer and use it in GitHub Desktop.
Save Bahus/8a4b642e9f8ca33cd6c056a39bad22af to your computer and use it in GitHub Desktop.
[tool.flakehell.plugins]
pycodestyle = [
"+*",
"-W503", # line break before binary operator
]
"flake8-docstrings" = ["-*"]
"flake8-*" = [
"+*",
"-S311", # Using random for cryptographic purposes
"-S101", # Assert detected
]
pylint = [
"+*",
"-W0511",
"-C0103", # Argument name doesn't conform to snake_case naming style
"-C0116", # Docstrings for public methods
"-C0115", # Missing class docstring
"-C0114", # Missing module docstring
"-R0903", # Too few public methods
]
[tool.flakehell.exceptions."tests/"]
pylint = [
"-W0621", # Redefining name from outer scope
"-R0913", # Too many arguments
"-R0201", # Method could be a function
"-E1101", # has no '<something>' member (no-member)
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment