Skip to content

Commit

Permalink
test(rules): use consistent wording
Browse files Browse the repository at this point in the history
  • Loading branch information
mkniewallner committed Sep 19, 2023
1 parent 46355ee commit 7ed0354
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions crates/ruff/resources/test/fixtures/flake8_bandit/S201.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
def main():
raise

#bad
# OK
app.run(debug=True)

#okay
# Errors
app.run()
app.run(debug=False)

#unrelated
# Unrelated
run()
run(debug=True)
run(debug)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ source: crates/ruff/src/rules/flake8_bandit/mod.rs
---
S201.py:10:9: S201 Use of `debug=True` in Flask app detected
|
9 | #bad
9 | # OK
10 | app.run(debug=True)
| ^^^^^^^^^^ S201
11 |
12 | #okay
12 | # Errors
|


0 comments on commit 7ed0354

Please sign in to comment.