Skip to content

Add a nice Bandit banner #429

@kravietz

Description

@kravietz

Is your feature request related to a problem? Please describe.
When running Bandit in a build pipeline its runtime messages are boring and not distinctive:

[main]	INFO	profile include tests: None
[main]	INFO	profile exclude tests: None
[main]	INFO	cli include tests: None
[main]	INFO	cli exclude tests: B501,B322,B308,B703
[main]	INFO	running on Python 3.6.6
300 [0.. 50.. 100.. 150.. 200.. 250.. ]

Describe the solution you'd like
Display an exciting banner such as this one, generated with toilet -W -f bigascii12 Bandit:

                                            ##              
 ######:                             ##     ##              
 #######                             ##     ##       ##     
 ##   :##                            ##              ##     
 ##    ##   :####    ##.####    :###.##   ####     #######  
 ##   :##   ######   #######   :#######   ####     #######  
 #######.   #:  :##  ###  :##  ###  ###     ##       ##     
 #######.    :#####  ##    ##  ##.  .##     ##       ##     
 ##   :##  .#######  ##    ##  ##    ##     ##       ##     
 ##    ##  ## .  ##  ##    ##  ##.  .##     ##       ##     
 ##   :##  ##:  ###  ##    ##  ###  ###     ##       ##.    
 ########  ########  ##    ##  :#######  ########    #####  
 ######      ###.##  ##    ##   :###.##  ########    .####  
                                                            

Describe alternatives you've considered
I have considered submitting a patch myself but the current Bandit's command-line control flow is so elegant that I won't dare to mess with it.

Additional context
Other tools, such as safety are displaying really exciting and beautiful banners:

╒══════════════════════════════════════════════════════════════════════════════╕
│                                                                              │
│                               /$$$$$$            /$$                         │
│                              /$$__  $$          | $$                         │
│           /$$$$$$$  /$$$$$$ | $$  \__//$$$$$$  /$$$$$$   /$$   /$$           │
│          /$$_____/ |____  $$| $$$$   /$$__  $$|_  $$_/  | $$  | $$           │
│         |  $$$$$$   /$$$$$$$| $$_/  | $$$$$$$$  | $$    | $$  | $$           │
│          \____  $$ /$$__  $$| $$    | $$_____/  | $$ /$$| $$  | $$           │
│          /$$$$$$$/|  $$$$$$$| $$    |  $$$$$$$  |  $$$$/|  $$$$$$$           │
│         |_______/  \_______/|__/     \_______/   \___/   \____  $$           │
│                                                          /$$  | $$           │
│                                                         |  $$$$$$/           │
│  by pyup.io                                              \______/            │
│                                                                              │
╞══════════════════════════════════════════════════════════════════════════════╡
│ REPORT                                                                       │
│ checked 101 packages, using default DB                                       │
╞══════════════════════════════════════════════════════════════════════════════╡
│ No known security vulnerabilities found.                                     │
╘══════════════════════════════════════════════════════════════════════════════╛

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions