Skip to content

Instantly share code, notes, and snippets.

@anteverse
Last active December 1, 2022 15:01
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/47250238ad1f77b82ffa45a05f2f8f1e to your computer and use it in GitHub Desktop.
Save anteverse/47250238ad1f77b82ffa45a05f2f8f1e 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 = { python-default = "pants.lock", 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