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

[FIX] tests #303

Merged
merged 6 commits into from May 11, 2024
Merged

[FIX] tests #303

merged 6 commits into from May 11, 2024

Conversation

Remi-Gau
Copy link
Owner

No description provided.

@pep8speaks
Copy link

pep8speaks commented May 11, 2024

Hello @Remi-Gau! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 22:1: E402 module level import not at top of file

Comment last updated at 2024-05-11 17:31:54 UTC

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine. If you would also like our AI-powered code review then let us know.

# in case we have one of the basic response type
# with no response choice involved
item.set_basic_response_type(field_type)
item.set_input_type()

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (code-quality): We've found these issues:

  • Simplify conditional into switch-like form (switch)
  • Use set when checking membership of a collection of literals (collection-into-set)

@Remi-Gau Remi-Gau merged commit 90a268c into main May 11, 2024
5 checks passed
@Remi-Gau Remi-Gau deleted the fix/texts branch May 11, 2024 17:33
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

2 participants