How to enable all checks to produce errors without explicitly enabling them one-by-one? #3298
|
I prefer to go all-in on checks in new projects. Popular linters like ruff and pylint have simple options to enable all checks (--select=all, --enable=all). I'd like to do the same with pyrefly but was unable to find such option. Now I have the following workflow:
This is cumbersome and difficult to manage as I need to reiterate on every release to catch new checks. Is there a simpler way to run pyrefly with all warn and info checks promoted to errors, e.g. |
Answered by
ducdetronquito
Aug 10, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Coacher I was looking for the same feature today, and it seems you can now achieve this with
pyrefly check --preset allCf: https://pyrefly.org/en/docs/configuration/#preset-all