Skip to content

Commit

Permalink
chore: adds flake8-print plugin to find unintentional print statements
Browse files Browse the repository at this point in the history
Signed-off-by: Jennifer Power <[email protected]>
  • Loading branch information
jpower432 committed Jul 28, 2023
1 parent 1db6089 commit 07cc533
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[flake8]
max-line-length=105
max-line-length=105
exclude=.venv*
17 changes: 16 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ mypy = "^1.3.0"
isort = "^5.12.0"
safety = "^2.3.5"
bandit = "^1.7.5"
flake8-print = "^5.0.0"

[tool.poetry.group.tests.dependencies]
pytest = "^7.3.2"
Expand Down
2 changes: 1 addition & 1 deletion trestlebot/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def run() -> None:

# Print the full commit sha
if commit_sha:
print(f"Commit Hash: {commit_sha}")
print(f"Commit Hash: {commit_sha}") # noqa

except Exception as e:
exit_code = handle_exception(e)
Expand Down

0 comments on commit 07cc533

Please sign in to comment.