Skip to content

Instantly share code, notes, and snippets.

@anteverse
Created November 3, 2022 13:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anteverse/f4dc226c6711cdd71009854684d751b8 to your computer and use it in GitHub Desktop.
Save anteverse/f4dc226c6711cdd71009854684d751b8 to your computer and use it in GitHub Desktop.
Example of pants.toml configuration for a project of plugins
[GLOBAL]
pants_version = "2.13.0"
backend_packages = [
"pants.backend.python.lint.pylint",
]
[python]
resolves = { pylint-plugins = "pylint_plugins/pants-pylint-plugins.lock" }
enable_resolves = true
[source]
root_patterns = [
"/",
"/pylint_plugins",
]
[pylint]
config = "pyproject.toml"
source_plugins = [
"pylint_plugins:pylint-plugins-sources",
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment