Do I need to do anything special to use pyupgrade ...
# general
f
Do I need to do anything special to use pyupgrade as a linter/formatter? From the [docs](https://www.pantsbuild.org/docs/reference-pyupgrade) it looks like I should be able to do something like
Copy code
[pyupgrade]
args = "[--py39-plus]"
but pants doesn't seem to like the
[pyupgrade]
scope
Copy code
13:32:54.73 [ERROR] Invalid scope [pyupgrade] in /Users/tdimiduk/eopt-core/pants.toml
I'm on
2.10
but I've also tried
2.11
and get the same error
1
h
also need to add it under
Copy code
[GLOBAL]
backend_packages = [
  "pants.backend.experimental.python.lint.pyupgrade",
]
f
Right, that solved it, thanks!
🚀 2