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

format and linting #18

Merged
merged 5 commits into from
Aug 22, 2024
Merged

format and linting #18

merged 5 commits into from
Aug 22, 2024

Conversation

danielchalef
Copy link
Member

@danielchalef danielchalef commented Aug 22, 2024

🚀 This description was created by Ellipsis for commit 0b6b03d

Summary:

This PR introduces a Makefile for task automation, reorders imports, fixes paths, and updates pyproject.toml for consistent formatting and development dependencies.

Key points:

  • Introduces a Makefile for task automation: install, format, lint, test, check.
  • Reorders and groups imports in multiple files for consistency.
  • Fixes import paths in examples/podcast and tests.
  • Updates pyproject.toml to include ruff and pytest as development dependencies.
  • Ensures consistent formatting across all Python files.
  • Minor formatting adjustments in README.md and SECURITY.md.

Generated with ❤️ by ellipsis.dev

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to d067a92 in 42 seconds

More details
  • Looked at 861 lines of code in 33 files
  • Skipped 1 files when reviewing.
  • Skipped posting 4 drafted comments based on config settings.
1. Makefile:30
  • Draft comment:
    Add a newline at the end of the file for POSIX compliance.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The Makefile is missing a newline at the end of the file, which is a best practice for POSIX compliance.
2. README.md:50
  • Draft comment:
    Add a newline at the end of the file for POSIX compliance.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The README.md file is missing a newline at the end of the file, which is a best practice for POSIX compliance.
3. SECURITY.md:13
  • Draft comment:
    Add a newline at the end of the file for POSIX compliance.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The SECURITY.md file is missing a newline at the end of the file, which is a best practice for POSIX compliance.
4. conftest.py:2
  • Draft comment:
    Ensure imports are grouped by standard library, third-party, and local application imports.
  • Reason this comment was not posted:
    Confidence changes required: 20%
    The import order in conftest.py should follow the convention of standard library imports first, then third-party imports, and finally local application imports. However, since there are only standard library imports, this is acceptable.

Workflow ID: wflow_EI1FbBaCtfuECfQS


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Incremental review on 0b6b03d in 28 seconds

More details
  • Looked at 266 lines of code in 7 files
  • Skipped 0 files when reviewing.
  • Skipped posting 3 drafted comments based on config settings.
1. core/graphiti.py:1
  • Draft comment:
    Group import statements according to PEP 8 guidelines: standard library imports, third-party imports, and local application imports should be separated by a blank line.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The import statements in core/graphiti.py are not grouped according to PEP 8 guidelines. Standard library imports, third-party imports, and local application imports should be separated by a blank line.
2. core/search/search.py:1
  • Draft comment:
    Group import statements according to PEP 8 guidelines: standard library imports, third-party imports, and local application imports should be separated by a blank line.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The import statements in core/search/search.py are not grouped according to PEP 8 guidelines. Standard library imports, third-party imports, and local application imports should be separated by a blank line.
3. core/utils/maintenance/graph_data_operations.py:1
  • Draft comment:
    Group import statements according to PEP 8 guidelines: standard library imports, third-party imports, and local application imports should be separated by a blank line.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The import statements in core/utils/maintenance/graph_data_operations.py are not grouped according to PEP 8 guidelines. Standard library imports, third-party imports, and local application imports should be separated by a blank line.

Workflow ID: wflow_J5BuKpWFDamvfPbo


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@danielchalef danielchalef merged commit 50da9d0 into main Aug 22, 2024
3 checks passed
@danielchalef danielchalef deleted the chore/fix-linting branch August 22, 2024 19:26
jackaldenryan pushed a commit that referenced this pull request Jan 10, 2025
* Makefile and format

* fix podcast stuff

* refactor: update import statement for transcript_parser in podcast_runner.py

* format and linting

* chore: Update import statements and remove unused code in maintenance module
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.

2 participants