Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core/config: Fix ConfigError missing argument if toml is missing #845

Merged
merged 1 commit into from Mar 4, 2022

Commits on Mar 3, 2022

  1. core/config: Fix ConfigError missing argument if toml is missing

    Fixes the following error:
    
        Traceback (most recent call last):
          File "bin/bandit", line 8, in <module>
            sys.exit(main())
          File "lib/python3.10/site-packages/bandit/cli/main.py", line 455, in main
            b_conf = b_config.BanditConfig(config_file=args.config_file)
          File "lib/python3.10/site-packages/bandit/core/config.py", line 45, in __init__
            raise utils.ConfigError(
        TypeError: ConfigError.__init__() missing 1 required positional argument: 'config_file'
    Holzhaus committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    cecfe37 View commit details
    Browse the repository at this point in the history