Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Add bandit linter #240

Merged
merged 1 commit into from
Feb 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions agogosml/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ lint: ## check python style
flake8 agogosml tests
pylint agogosml
mypy agogosml
bandit -r agogosml
isort --check-only --recursive agogosml

test:
Expand Down
1 change: 1 addition & 0 deletions agogosml/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bandit
bumpversion
wheel
watchdog
Expand Down
1 change: 1 addition & 0 deletions agogosml_cli/.banditrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
skips: ['B101']
1 change: 1 addition & 0 deletions agogosml_cli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ clean-test: ## remove test and coverage artifacts
lint: ## check python style
flake8 cli tests
pylint cli
bandit -c .banditrc -r cli
isort --skip-glob '**/cli/templates/**' --check-only --recursive cli

test:
Expand Down
1 change: 1 addition & 0 deletions agogosml_cli/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bandit
bumpversion
wheel
watchdog
Expand Down