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

feat(ci): Add backend linting #26

Merged
merged 25 commits into from
Jan 9, 2024
Merged

feat(ci): Add backend linting #26

merged 25 commits into from
Jan 9, 2024

Conversation

cpvannier
Copy link
Member

Description

Lint backend code using Pylint and add lint check in GitHub actions

Changes

Added

  • Add a GitHub action to check backend code linting with Pylint

Changed

  • Lint backend code using Pylint

Also split lint and format actions in two separate files
Remove temporarily disabled rules and fix issues

In order to split methods into more reasonably sized ones:
- Add create, create_table, _embeddings_search, _split_items to Dataset
- Add add_or_update_object, delete_objects to DatasetItem
- Add _export_item, _export_images, _export_object to COCOExporter
- Add copy_or_move_files to Importer
- Add create_table, _load_rows to InferenceModel
onnxruntime 1.16 causes issues when using SAM in Pixano Inference
Change needed for compatibility with lancedb 0.3.5+ which adds better support for update queries, but only for limited data types
Use '==' instead of '~=', as minor version updates to those dependencies can break Pixano, as seen in 2d7e569
Merge Jupyter formatting into backend format action
Merge Markdown and YAML formatting into frontend format action
@cpvannier cpvannier added enhancement New feature or request scope: back Related to Pixano backend labels Jan 8, 2024
@cpvannier cpvannier self-assigned this Jan 8, 2024
@cpvannier cpvannier marked this pull request as ready for review January 8, 2024 16:00
CHANGELOG.md Outdated Show resolved Hide resolved
@cpvannier cpvannier merged commit ccf8773 into develop Jan 9, 2024
10 checks passed
@cpvannier cpvannier added this to the Pixano 0.5.0 milestone Jan 16, 2024
@cpvannier cpvannier deleted the chore/lint_backend branch January 31, 2024 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request scope: back Related to Pixano backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants