Skip to content

Conversation

qtuantruong
Copy link
Member

Description

Flake8 raises errors for global variables declared in serving app without previously initialized. This is not an issue due to _load_model() always being called when starting an app. Thus, this ignores the lint checks.

Related Issues

Checklist:

  • I have added tests.
  • I have updated the documentation accordingly.
  • I have updated README.md (if you are adding a new model).
  • I have updated examples/README.md (if you are adding a new example).
  • I have updated datasets/README.md (if you are adding a new dataset).

@qtuantruong qtuantruong requested a review from darrylong April 13, 2025 21:34
@hieuddo hieuddo mentioned this pull request Apr 14, 2025
5 tasks
@qtuantruong qtuantruong merged commit fffadc2 into PreferredAI:master Apr 14, 2025
16 checks passed
@qtuantruong qtuantruong deleted the ignore-flake8-F824 branch April 14, 2025 16:48
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