Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Linter and Code Analysis #2

Merged
merged 2 commits into from
Sep 27, 2023
Merged

Add Linter and Code Analysis #2

merged 2 commits into from
Sep 27, 2023

Conversation

lkiesow
Copy link
Member

@lkiesow lkiesow commented Sep 27, 2023

This patch adds a GitHub Actions workflow to run flake8 and bandit on the code on every push and pull request.

This patch adds a GitHub Actions workflow to run `flake8` and `bandit`
on the code on every push and pull request.
This patch fixes requests without timeout. The requests library has no
default timeout. This can cause the code to hang indefinitely. This is
not what we want.

See https://bandit.readthedocs.io/en/1.7.5/plugins/b113_request_without_timeout.html
@lkiesow lkiesow merged commit 78208c9 into main Sep 27, 2023
2 checks passed
@lkiesow lkiesow deleted the actions-lint branch October 2, 2023 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant