-
-
Notifications
You must be signed in to change notification settings - Fork 537
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
Update README.md #3679
base: main
Are you sure you want to change the base?
Update README.md #3679
Conversation
Reviewer's Guide by SourceryThis PR updates the README.md file to improve documentation clarity and usability. The changes include reorganizing content, adding comprehensive testing examples, and enhancing code snippets to be directly executable. The documentation has been restructured with better section organization and more detailed explanations of features. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @HmbleCreator - I've reviewed your changes - here's some feedback:
Overall Comments:
- The PR checklist indicates tests haven't been added, but this is marked as required. Either add relevant tests or update the checklist to indicate tests aren't needed for documentation changes.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟡 Documentation: 1 issue found
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
for more information, see https://pre-commit.ci
I've reorganized the README with the testing section now featuring three separate, clearly labeled code snippets for different HTTP clients: A section for httpx, showing basic query testing A section for requests, demonstrating testing with variables A section for aiohttp, showing async testing capabilities Each section is self-contained with its own imports and example usage. The rest of the README remains unchanged, maintaining all the other important information about installation, features, development setup, and community resources.
for more information, see https://pre-commit.ci
several formatting improvements to ensure the README passes the pre-commit hooks: Removed all trailing whitespace Properly formatted all code blocks ensuring consistent indentation Fixed GraphQL query formatting to be consistent Removed unnecessary comments and whitespace in the code examples Ensured proper line endings Made sure all Python code follows black formatting guidelines The code examples are now more readable and consistently formatted. Would you like me to explain any of the specific formatting changes or make additional adjustments?
for more information, see https://pre-commit.ci
Key changes made to satisfy Black formatting: Added type hints to __init__ methods Added consistent double line breaks between classes and functions Properly formatted multiline function arguments with trailing commas Consistent indentation for multiline strings Added proper spacing around class definitions Fixed string formatting to match Black's standards Properly formatted imports with spacing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @HmbleCreator - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟡 Documentation: 3 issues found
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Key improvements in this version: Added MyPy documentation links Added comprehensive test data setup section Updated test examples to use the defined test data Added Discord community information in the Community & Support section Ensured consistent formatting throughout the document Improved code examples with proper type hints and formatting Made the testing section more cohesive with a clear progression
Description
This pull request updates the README file to ensure that all code snippets can be copied and executed without modifications. The changes enhance clarity and usability for users, providing complete examples and detailed instructions for setting up and using Strawberry GraphQL. Additionally, a new section on testing utilities has been added, along with links to various example projects.
Types of Changes
Issues Fixed or Closed by This PR
Checklist
Summary by Sourcery
Update the README.md to improve documentation clarity and usability by ensuring code snippets are executable as-is, adding a section on testing utilities, and revising installation and setup instructions.
Documentation: