Move cli modules into their own submodule
Change-Id: I953b3c4c17202c0738ec6b9dc17f65742126cbd0
This commit is contained in:
parent
0aa1c78b6d
commit
0bd057bb9c
|
@ -23,9 +23,9 @@ classifier =
|
|||
|
||||
[entry_points]
|
||||
console_scripts =
|
||||
bandit = bandit.bandit:main
|
||||
bandit-config-generator = bandit.bandit_config_generator:main
|
||||
bandit-baseline = bandit.bandit_baseline:main
|
||||
bandit = bandit.cli.main:main
|
||||
bandit-config-generator = bandit.cli.config_generator:main
|
||||
bandit-baseline = bandit.cli.baseline:main
|
||||
bandit.formatters =
|
||||
csv = bandit.formatters.csv:report
|
||||
json = bandit.formatters.json:report
|
||||
|
|
|
@ -4,7 +4,7 @@ import os
|
|||
import appdirs
|
||||
import testtools
|
||||
|
||||
from bandit import bandit
|
||||
from bandit.cli import main as bandit
|
||||
from bandit.core import utils
|
||||
|
||||
BASE_CONFIG = '/bandit.yaml'
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import bandit.bandit_baseline as baseline
|
||||
import bandit.cli.baseline as baseline
|
||||
|
||||
import fixtures
|
||||
import os
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from bandit.bandit_config_generator import get_config_settings
|
||||
from bandit.cli.config_generator import get_config_settings
|
||||
|
||||
import mock
|
||||
import testtools
|
||||
|
@ -12,4 +12,4 @@ class BanditConfigGeneratorTests(testtools.TestCase):
|
|||
spec=stevedore.extension.Extension)
|
||||
def test_get_config_settings(self, ext_mgr, ext):
|
||||
# TODO(tmcpeak): We need to add unit testing here
|
||||
pass
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue