You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Since now Bandit has a dependency on the module rich as a progress indicator, we can take further advantage of the library and use it for our output formatters.
In particular, rich.syntax can pretty print code snippets with line numbers and syntax formatting.
That could look nice in our screen.py formatter.
Describe the solution you'd like
Make use of rich.syntax in screen.py and possible others.
Is your feature request related to a problem? Please describe.
Since now Bandit has a dependency on the module rich as a progress indicator, we can take further advantage of the library and use it for our output formatters.
In particular, rich.syntax can pretty print code snippets with line numbers and syntax formatting.
That could look nice in our screen.py formatter.
Describe the solution you'd like
Make use of rich.syntax in screen.py and possible others.
Describe alternatives you've considered
n/a
Additional context
https://rich.readthedocs.io/en/latest/syntax.html
https://rich.readthedocs.io/en/latest/reference/syntax.html
Love this idea? Give it a 👍. We prioritize fulfilling features with the most 👍.
The text was updated successfully, but these errors were encountered: