<#20164 flake8/ pylint backend missing `interprete...
# github-notifications
c
#20164 flake8/ pylint backend missing `interpreter_constraints` configuration Issue created by cponfick Describe the bug It seems the flake8/ pylint config does not support an interpreter constraint. It should be an available configuration as stated in the documentation: https://www.pantsbuild.org/v2.18/docs/python-linters-and-formatters Example Configuration:
Copy code
# pants.toml

[flake8]
install_from_resolve = "python-default"
interpreter_constraints = [".."]
Produces the following error:
Copy code
[ERROR] Invalid option 'interpreter_constraints' under [flake8] in pants.toml
[ERROR] Invalid config entries detected. See log for details on which entries to update or remove.

(Specify --no-verify-config to disable this check.)

Use --print-stacktrace for more error details and/or -ldebug for more logs.
See <https://www.pantsbuild.org/v2.18/docs/troubleshooting> for common issues.
Consider reaching out for help: <https://www.pantsbuild.org/v2.18/docs/getting-hel>
Pants version 2.18.0rc5 OS MacOS pantsbuild/pants