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

Update README.md to indicate maintenance status of project #20

Merged
merged 3 commits into from
Dec 28, 2024

Conversation

JensAstrup
Copy link
Owner

@JensAstrup JensAstrup commented Dec 28, 2024

Summary by CodeRabbit

  • Documentation
    • Updated README with minor grammatical corrections
    • Removed section about project maintenance status
  • Chores
    • Enhanced GitHub Actions workflow to include the development branch for testing coverage.

Copy link

linear bot commented Dec 28, 2024

PYO-1 Update README

Copy link

coderabbitai bot commented Dec 28, 2024

Walkthrough

The pull request involves updates to the README.md file, specifically removing a section that indicated the project was no longer maintained. The changes include minor grammatical corrections and the removal of a warning about production use and a sponsorship request. The core documentation and project information remain unchanged, with no modifications to the module's functionality or usage instructions. Additionally, the GitHub Actions workflow configuration was updated to include the development branch in the triggers for both push and pull_request events.

Changes

File Change Summary
README.md - Removed section about project maintenance status
- Corrected grammatical errors (e.g., "up to date" → "up-to-date", "seperate" → "separate")
.github/workflows/unit_tests.yml - Added development branch to push and pull_request triggers
- Minor formatting change in Run tests step

Possibly related PRs

  • implement instead of nose for the tests and test coverage #16: The main PR's changes to the README.md file and the retrieved PR's focus on replacing the nose testing framework with pytest in the testing setup are related as they both contribute to improving the project's documentation and testing practices.

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c997a1b and 1546fc0.

📒 Files selected for processing (2)
  • .github/workflows/unit_tests.yml (2 hunks)
  • README.md (2 hunks)
🧰 Additional context used
🪛 Markdownlint (0.37.0)
README.md

13-13: Expected: 0 or 2; Actual: 1
Trailing spaces

(MD009, no-trailing-spaces)


12-12: Expected: 1; Actual: 0; Below
Headings should be surrounded by blank lines

(MD022, blanks-around-headings)

🪛 LanguageTool
README.md

[typographical] ~52-~52: The word “however” is an adverb that can’t be used like a conjunction, and therefore needs to be separated from the sentence.
Context: ...is method is identical to get_messages(), however it returns only the ten most recent mes...

(HOWEVER_SENTENCE)


[style] ~52-~52: In American English, abbreviations like “etc.” require a period.
Context: ...folders by an Outlook rule, junk email, etc) ```python from pyOutlook import * acc...

(ETC_PERIOD)

🔇 Additional comments (3)
.github/workflows/unit_tests.yml (1)

7-7: LGTM! Good addition of development branch to CI workflow.

Adding the development branch to both push and pull_request triggers is a good practice that ensures code quality is maintained during development.

Also applies to: 11-11

README.md (2)

10-10: LGTM! Correct hyphenation of "up-to-date".

The hyphenation improves grammatical accuracy.


Line range hint 1-1: Verify project status badges.

Since we're updating the maintenance status of the project, please verify that all the badges (PyPI, coverage, documentation) are still current and pointing to the correct branches.

✅ Verification successful

Let me verify the actual content of the README to see what badges are currently present and compare with the HTTP status codes we received.


All project badges are functional and correctly configured

Based on the HTTP status code checks and README content analysis:

  • PyPI badge (302 redirect) - Working correctly, redirects are expected for PyPI badges
  • GitLab coverage badge (200) - Working and pointing to the correct master branch
  • Python versions badge - Using shields.io which is reliable
  • ReadTheDocs badge (200) - Working and pointing to the latest version

All badges are properly configured and responding, accurately reflecting the project's current status.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Check if the badges are pointing to valid URLs and resources

# Check PyPI badge
curl -s -o /dev/null -w "%{http_code}" "https://badge.fury.io/py/pyOutlook.svg"

# Check GitLab coverage badge
curl -s -o /dev/null -w "%{http_code}" "https://gitlab.com/jensastrup/pyOutlook/badges/master/coverage.svg"

# Check ReadTheDocs badge
curl -s -o /dev/null -w "%{http_code}" "https://readthedocs.org/projects/pyoutlook/badge/?version=latest"

Length of output: 305


Script:

#!/bin/bash
# Check current badges in README
cat README.md

Length of output: 8214

🧰 Tools
🪛 LanguageTool

[style] ~16-~16: This phrase is redundant. Consider using “outside”.
Context: ...s, gaining an access token must be done outside of this module. ```python from pyOutlook ...

(OUTSIDE_OF)

🪛 Markdownlint (0.37.0)

13-13: Expected: 0 or 2; Actual: 1
Trailing spaces

(MD009, no-trailing-spaces)


14-14: Expected: 0 or 2; Actual: 1
Trailing spaces

(MD009, no-trailing-spaces)


7-7: Expected: 1; Actual: 0; Below
Headings should be surrounded by blank lines

(MD022, blanks-around-headings)


12-12: Expected: 1; Actual: 0; Below
Headings should be surrounded by blank lines

(MD022, blanks-around-headings)


4-4: null
No empty links

(MD042, no-empty-links)


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (3)
README.md (3)

Line range hint 47-48: Fix typo: "seperate" should be "separate"

There's a typo in the inbox() method description.

-This method is identical to get_messages(), however it returns only the ten most recent message in the inbox (ignoring messages that were put into seperate folders by an Outlook rule, junk email, etc)
+This method is identical to get_messages(), however it returns only the ten most recent message in the inbox (ignoring messages that were put into separate folders by an Outlook rule, junk email, etc)
🧰 Tools
🪛 LanguageTool

[style] ~16-~16: This phrase is redundant. Consider using “outside”.
Context: ...s, gaining an access token must be done outside of this module. ```python from pyOutlook ...

(OUTSIDE_OF)

🪛 Markdownlint (0.37.0)

4-4: null
No empty links

(MD042, no-empty-links)


Line range hint 89-108: Consider adding return type information for Message methods

The documentation for Message methods (forward, reply, reply_all) would benefit from including return type information to help users understand what to expect from these method calls.

For example:

### forward(to_recipients, forward_comment)
-This method forwards a message to the list of recipients...
+This method forwards a message to the list of recipients and returns None...
🧰 Tools
🪛 LanguageTool

[style] ~16-~16: This phrase is redundant. Consider using “outside”.
Context: ...s, gaining an access token must be done outside of this module. ```python from pyOutlook ...

(OUTSIDE_OF)

🪛 Markdownlint (0.37.0)

4-4: null
No empty links

(MD042, no-empty-links)


8-9: Consider adding a positive statement about project status

Since this PR's objective is to update the maintenance status, consider adding a clear statement about the project's current status near the introduction. This would help users understand that the project is actively maintained.

For example:

# pyOutlook
A Python module for connecting to the Outlook REST API, without the hassle of dealing with the JSON formatting for requests/responses and the REST endpoints and their varying requirements

+This project is actively maintained and welcomes contributions from the community.
+
The most up-to-date documentation can be found on [pyOutlook's RTD page]
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c65d8d6 and c997a1b.

📒 Files selected for processing (1)
  • README.md (1 hunks)
🔇 Additional comments (1)
README.md (1)

10-10: LGTM! Grammar improvements look good.

The hyphenation of "up-to-date" and the sentence structure are correct.

Also applies to: 13-13

@JensAstrup
Copy link
Owner Author

@coderabbitai review

Copy link

coderabbitai bot commented Dec 28, 2024

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Caution

Inline review comments failed to post. This is likely due to GitHub's limits when posting large numbers of comments.

Actionable comments posted: 2

🛑 Comments failed to post (2)
README.md (2)

13-13: 🧹 Nitpick (assertive)

Add a blank line before the heading.

To improve markdown formatting and readability, add a blank line before the "Instantiation" heading.

🧰 Tools
🪛 Markdownlint (0.37.0)

13-13: Expected: 0 or 2; Actual: 1
Trailing spaces

(MD009, no-trailing-spaces)


52-52: 🧹 Nitpick (assertive)

Fix grammatical and punctuation issues.

There are a few minor issues in this line:

  1. The word "however" should be separated by a comma
  2. Missing period after "etc"

Apply this fix:

-This method is identical to get_messages(), however it returns only the ten most recent message in the inbox (ignoring messages that were put into separate folders by an Outlook rule, junk email, etc)
+This method is identical to get_messages(); however, it returns only the ten most recent message in the inbox (ignoring messages that were put into separate folders by an Outlook rule, junk email, etc.).
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

This method is identical to get_messages(); however, it returns only the ten most recent message in the inbox (ignoring messages that were put into separate folders by an Outlook rule, junk email, etc.).
🧰 Tools
🪛 LanguageTool

[typographical] ~52-~52: The word “however” is an adverb that can’t be used like a conjunction, and therefore needs to be separated from the sentence.
Context: ...is method is identical to get_messages(), however it returns only the ten most recent mes...

(HOWEVER_SENTENCE)


[style] ~52-~52: In American English, abbreviations like “etc.” require a period.
Context: ...folders by an Outlook rule, junk email, etc) ```python from pyOutlook import * acc...

(ETC_PERIOD)

@JensAstrup JensAstrup merged commit fd376b3 into development Dec 28, 2024
6 checks passed
@JensAstrup JensAstrup deleted the pyo-1-update-readme branch December 28, 2024 19:37
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