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 static checking with ruff #622

Open
wants to merge 3 commits into
base: release/v1.12.6
Choose a base branch
from

Conversation

ericbn
Copy link
Contributor

@ericbn ericbn commented Feb 10, 2023

See https://github.com/charliermarsh/ruff

Also simplify code based on initial report from ruff. Reorder evaluation of login so:

  • token_login comes first and then soap_login, for better organization and clarity
  • no need for escape and unescape of username and password, just escape at the right place

See https://github.com/charliermarsh/ruff

Also simplify code based on initial errors from ruff.
Reorder evaluation of login so:
* token_login comes first and then soap_login, for better organization
  and clarity
* no need for escape and unescape of username and password, just escape
  at the right place
since static only runs in Python 3.8
@jon-wobken jon-wobken changed the base branch from release/v1.12.4 to release/v1.12.6 October 24, 2023 12:04
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.

None yet

1 participant