Skip to content

Commit

Permalink
Merge pull request #305 from ericwb/docs
Browse files Browse the repository at this point in the history
Update the doc links, remove openstack
  • Loading branch information
lukehinds committed May 14, 2018
2 parents cd65634 + 26b699f commit f3ec2c9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bandit/core/docs_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# under the License.

# where our docs are hosted
BASE_URL = 'https://docs.openstack.org/bandit/latest/'
BASE_URL = 'https://bandit.readthedocs.io/en/latest/'


def get_url(bid):
Expand Down
4 changes: 2 additions & 2 deletions bandit/formatters/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@
<b>Confidence: </b>HIGH<br>
<b>File: </b><a href="examples/yaml_load.py"
target="_blank">examples/yaml_load.py</a> <br>
<b>More info: </b><a href="https://docs.openstack.org/bandit/latest/
<b>More info: </b><a href="https://bandit.readthedocs.io/en/latest/
plugins/yaml_load.html" target="_blank">
https://docs.openstack.org/bandit/latest/plugins/yaml_load.html</a>
https://bandit.readthedocs.io/en/latest/plugins/yaml_load.html</a>
<br>
<div class="code">
Expand Down
2 changes: 1 addition & 1 deletion bandit/formatters/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"line_range": [
5
],
"more_info": "https://docs.openstack.org/bandit/latest/",
"more_info": "https://bandit.readthedocs.io/en/latest/",
"test_name": "blacklist_calls",
"test_id": "B301"
}
Expand Down
2 changes: 1 addition & 1 deletion bandit/formatters/yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
line_number: 6
line_range:
- 6
more_info: https://docs.openstack.org/bandit/latest/
more_info: https://bandit.readthedocs.io/en/latest/
test_id: B506
test_name: yaml_load
Expand Down

0 comments on commit f3ec2c9

Please sign in to comment.