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

chore(deps): add useful pytest-* plugins #490

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

teocns
Copy link
Contributor

@teocns teocns commented Nov 6, 2024

🔍 Review Summary

Purpose:
Enhance testing capabilities by adding pytest plugins to improve dependency management, asynchronous testing, HTTP request recording, and mocking functionalities.

Key Changes:

  • Enhancement: Added pytest-depends, pytest-asyncio, pytest-vcr, and pytest-mock to the dev optional dependencies for improved testing capabilities.

Impact:
Improves the efficiency and coverage of the testing process, ensuring more robust and reliable code.

Original Description

No existing description found

@teocns teocns enabled auto-merge (squash) November 6, 2024 22:55
Copy link

Walkthrough

This update enhances the testing capabilities of the project by adding several useful pytest plugins to the development dependencies. These plugins include pytest-depends, pytest-asyncio, pytest-vcr, and pytest-mock, which facilitate dependency management, asynchronous testing, HTTP request recording, and mocking functionalities, respectively. This change aims to improve the efficiency and coverage of the testing process, ensuring more robust and reliable code.

Changes

File(s) Summary
pyproject.toml Added pytest-depends, pytest-asyncio, pytest-vcr, and pytest-mock to the dev optional dependencies to enhance testing capabilities with dependency management, asynchronous testing, HTTP request recording, and mocking functionalities.
Files selected (1)
  • pyproject.toml
Files ignored (0)
Instructions

Emoji Descriptions:

  • ⚠️ Potential Issue - May require further investigation.
  • 🔒 Security Vulnerability - Fix to ensure system safety.
  • 💻 Code Improvement - Suggestions to enhance code quality.
  • 🔨 Refactor Suggestion - Recommendations for restructuring code.
  • ℹ️ Others - General comments and information.

Interact with the Bot:

  • Send a message or request using the format:

    @Entelligence.AI + *your message*

    • Example: @Entelligence.AI Can you suggest improvements for this code?
  • Execute a command using the format:

    @Entelligence.AI + *"/command"*

Available Commands:

  • /updateCommit: Apply the suggested changes and commit them.
  • /updateGuideline: Modify an existing guideline.
  • /addGuideline: Introduce a new guideline.

Tips for Using @Entelligence.AI Effectively:

  • Specific Queries: For the best results, be specific with your requests. Example: @Entelligence.AI summarize the changes in this PR.
  • Focused Discussions: Tag @Entelligence.AI directly on specific code lines or files for detailed feedback.
  • Managing Reviews: Use review comments for targeted discussions on code snippets, and PR comments for broader queries about the entire PR.

Need More Help?

  • Visit our documentation for detailed guides on using Entelligence.AI.
  • Join our community to connect with others, request features, and share feedback.
  • Follow us for updates on new features and improvements.

pyproject.toml Outdated Show resolved Hide resolved
Copy link

Files selected (0)
Files ignored (1)
  • tox.ini
Instructions

Emoji Descriptions:

  • ⚠️ Potential Issue - May require further investigation.
  • 🔒 Security Vulnerability - Fix to ensure system safety.
  • 💻 Code Improvement - Suggestions to enhance code quality.
  • 🔨 Refactor Suggestion - Recommendations for restructuring code.
  • ℹ️ Others - General comments and information.

Interact with the Bot:

  • Send a message or request using the format:

    @Entelligence.AI + *your message*

    • Example: @Entelligence.AI Can you suggest improvements for this code?
  • Execute a command using the format:

    @Entelligence.AI + *"/command"*

Available Commands:

  • /updateCommit: Apply the suggested changes and commit them.
  • /updateGuideline: Modify an existing guideline.
  • /addGuideline: Introduce a new guideline.

Tips for Using @Entelligence.AI Effectively:

  • Specific Queries: For the best results, be specific with your requests. Example: @Entelligence.AI summarize the changes in this PR.
  • Focused Discussions: Tag @Entelligence.AI directly on specific code lines or files for detailed feedback.
  • Managing Reviews: Use review comments for targeted discussions on code snippets, and PR comments for broader queries about the entire PR.

Need More Help?

  • Visit our documentation for detailed guides on using Entelligence.AI.
  • Join our community to connect with others, request features, and share feedback.
  • Follow us for updates on new features and improvements.

@teocns teocns requested a review from areibman November 8, 2024 18:24
@teocns teocns self-assigned this Nov 8, 2024
pyproject.toml Outdated Show resolved Hide resolved
@areibman
Copy link
Contributor

areibman commented Nov 8, 2024

Are these dependencies tied to anything specifically? We should include them on a per-issue basis

Signed-off-by: Teo <teocns@gmail.com>
Copy link

Files selected (1)
  • pyproject.toml
Files ignored (1)
  • tox.ini
Instructions

Emoji Descriptions:

  • ⚠️ Potential Issue - May require further investigation.
  • 🔒 Security Vulnerability - Fix to ensure system safety.
  • 💻 Code Improvement - Suggestions to enhance code quality.
  • 🔨 Refactor Suggestion - Recommendations for restructuring code.
  • ℹ️ Others - General comments and information.

Interact with the Bot:

  • Send a message or request using the format:

    @Entelligence.AI + *your message*

    • Example: @Entelligence.AI Can you suggest improvements for this code?
  • Execute a command using the format:

    @Entelligence.AI + *"/command"*

Available Commands:

  • /updateCommit: Apply the suggested changes and commit them.
  • /updateGuideline: Modify an existing guideline.
  • /addGuideline: Introduce a new guideline.

Tips for Using @Entelligence.AI Effectively:

  • Specific Queries: For the best results, be specific with your requests. Example: @Entelligence.AI summarize the changes in this PR.
  • Focused Discussions: Tag @Entelligence.AI directly on specific code lines or files for detailed feedback.
  • Managing Reviews: Use review comments for targeted discussions on code snippets, and PR comments for broader queries about the entire PR.

Need More Help?

  • Visit our documentation for detailed guides on using Entelligence.AI.
  • Join our community to connect with others, request features, and share feedback.
  • Follow us for updates on new features and improvements.

@teocns
Copy link
Contributor Author

teocns commented Nov 8, 2024

Pretty standard-use libs, commonly used and proven to be required (except asyncio AFAIK), at least not until now

@areibman
Copy link
Contributor

Merging since we've updated the contributor files

@teocns teocns merged commit a0d85c5 into AgentOps-AI:main Nov 13, 2024
1 check passed
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