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

Readme fix #56

Merged
merged 14 commits into from
Jul 2, 2024
Merged

Readme fix #56

merged 14 commits into from
Jul 2, 2024

Conversation

pateash
Copy link
Collaborator

@pateash pateash commented Jul 2, 2024

No description provided.

Copy link
Contributor

coderabbitai bot commented Jul 2, 2024

Walkthrough

The updates primarily focus on enhancing the installation process, improving documentation, and refining build and environment management scripts. Key highlights include: upgrading pip in the build workflow, adding new badges and HomeBrew instructions in the README, modifying the Makefile targets, adjusting virtual environment ignore patterns in .gitignore, and adding new social links and version comments in the documentation.

Changes

Files Summary
.github/workflows/build.yml Upgraded pip before installing dependencies using pip install hatch.
README.md Added new badges for coverage and quality gate, updated installation instructions, and commented out a commit activity badge.
Makefile Renamed the env-clean target to env-prune, removed env-default target, updated docs target, and added lint to sync target.
.gitignore Changed virtual environment exclusion pattern to *venv/.
docs/source/_templates/components/... Added nav-versions.html to prevent versions from displaying in the navigation bar.
docs/source/_templates/partials/... Introduced foot-socials.html for social links with specific SVG icons and links.
docs/source/conf.py Added "Join our Slack" external link.

Poem

In code we thrive, in scripts we dance,
From badges bright to docs enhanced,
Virtual envs now neatly pruned,
And installation guides attuned.
Slack we join, together strong,
In the warren of code, where we belong.
🐇✨📦

Tip

AI model upgrade

gpt-4o model for reviews and chat is now live

OpenAI claims that this model is better at understanding and generating code than the previous models. Please join our Discord Community to provide any feedback or to report any issues.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
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>.
    • 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 generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @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 as 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 resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration 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.

@github-actions github-actions bot added github-actions Changes in CICD fix Some fix in current functionality labels Jul 2, 2024
Copy link
Contributor

@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: 2

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 414c3a3 and 8a78ae2.

Files selected for processing (2)
  • .github/workflows/build.yml (1 hunks)
  • README.md (2 hunks)
Files skipped from review due to trivial changes (1)
  • .github/workflows/build.yml
Additional context used
Markdownlint
README.md

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

(MD022, blanks-around-headings)


33-33: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


38-38: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


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

(MD022, blanks-around-headings)


42-42: Expected: 1; Actual: 0; Above
Headings should be surrounded by blank lines

(MD022, blanks-around-headings)


34-34: null
Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


37-37: null
Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


39-39: null
Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


41-41: null
Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


33-33: null
Lists should be surrounded by blank lines

(MD032, blanks-around-lists)


33-33: null
Lists should be surrounded by blank lines

(MD032, blanks-around-lists)


38-38: null
Lists should be surrounded by blank lines

(MD032, blanks-around-lists)


38-38: null
Lists should be surrounded by blank lines

(MD032, blanks-around-lists)

Additional comments not posted (3)
README.md (3)

4-4: LGTM!

The code coverage badge from SonarCloud has been correctly added.


5-5: LGTM!

The quality gate badge from SonarCloud has been correctly added.


11-11: LGTM!

The GitHub commit activity badge has been correctly commented out.

Comment on lines +33 to +37
* using HomeBrew
```console
brew tap hckr-cli/tap
brew install hckr
```
Copy link
Contributor

Choose a reason for hiding this comment

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

Fix markdownlint issues.

The HomeBrew installation instructions are clear and correct. However, there are markdownlint issues to address:

  • Headings should be surrounded by blank lines (MD022).
  • Unordered list style should be consistent (MD004).
  • Fenced code blocks should be surrounded by blank lines (MD031).
  • Lists should be surrounded by blank lines (MD032).
## Installation

- using HomeBrew

+ 
```console
brew tap hckr-cli/tap
brew install hckr
  • using pip
pip install hckr

<details>
<summary>Tools</summary>

<details>
<summary>Markdownlint</summary><blockquote>

33-33: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)

---

34-34: null
Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)

---

37-37: null
Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)

---

33-33: null
Lists should be surrounded by blank lines

(MD032, blanks-around-lists)

---

33-33: null
Lists should be surrounded by blank lines

(MD032, blanks-around-lists)

</blockquote></details>

</details>

<!-- This is an auto-generated comment by CodeRabbit -->

README.md Show resolved Hide resolved
@pateash pateash marked this pull request as ready for review July 2, 2024 13:38
Copy link
Contributor

@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

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 8a78ae2 and 43a509f.

Files selected for processing (1)
  • README.md (2 hunks)
Additional context used
Markdownlint
README.md

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

(MD009, no-trailing-spaces)


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

(MD022, blanks-around-headings)


34-34: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


39-39: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)


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

(MD022, blanks-around-headings)


43-43: Expected: 1; Actual: 0; Above
Headings should be surrounded by blank lines

(MD022, blanks-around-headings)


35-35: null
Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


38-38: null
Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


40-40: null
Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


42-42: null
Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


34-34: null
Lists should be surrounded by blank lines

(MD032, blanks-around-lists)


34-34: null
Lists should be surrounded by blank lines

(MD032, blanks-around-lists)


39-39: null
Lists should be surrounded by blank lines

(MD032, blanks-around-lists)


39-39: null
Lists should be surrounded by blank lines

(MD032, blanks-around-lists)

Additional comments not posted (4)
README.md (4)

4-5: LGTM!

The new badges for coverage and quality gate are correctly added and provide useful information.


12-12: LGTM!

The GitHub commit activity badge has been correctly commented out.


34-38: Fix markdownlint issues.

The HomeBrew installation instructions are clear and correct. However, there are markdownlint issues to address:

  • Headings should be surrounded by blank lines (MD022).
  • Unordered list style should be consistent (MD004).
  • Fenced code blocks should be surrounded by blank lines (MD031).
  • Lists should be surrounded by blank lines (MD032).
## Installation

- using HomeBrew

+ 
```console
brew tap hckr-cli/tap
brew install hckr

<details>
<summary>Tools</summary>

<details>
<summary>Markdownlint</summary><blockquote>

34-34: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)

---

35-35: null
Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)

---

38-38: null
Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)

---

34-34: null
Lists should be surrounded by blank lines

(MD032, blanks-around-lists)

---

34-34: null
Lists should be surrounded by blank lines

(MD032, blanks-around-lists)

</blockquote></details>

</details>

---

`39-40`: **Fix markdownlint issues.**

The pip installation instructions are correct. However, there are markdownlint issues to address:
- Fenced code blocks should be surrounded by blank lines (MD031).
- Lists should be surrounded by blank lines (MD032).

```diff
- using pip

+ 
```console
pip install hckr

<details>
<summary>Tools</summary>

<details>
<summary>Markdownlint</summary><blockquote>

39-39: Expected: dash; Actual: asterisk
Unordered list style

(MD004, ul-style)

---

40-40: null
Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)

---

39-39: null
Lists should be surrounded by blank lines

(MD032, blanks-around-lists)

---

39-39: null
Lists should be surrounded by blank lines

(MD032, blanks-around-lists)

</blockquote></details>

</details>

</blockquote></details>

</blockquote></details>

</details>

<!-- This is an auto-generated comment by CodeRabbit for review status -->

@github-actions github-actions bot added documentation Improvements or additions to documentation project-config labels Jul 2, 2024
Copy link
Contributor

@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: 1

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 43a509f and b831397.

Files ignored due to path filters (1)
  • pyproject.toml is excluded by !**/*.toml
Files selected for processing (2)
  • Makefile (3 hunks)
  • docs/source/_templates/components/nav-versions.html (1 hunks)
Files skipped from review due to trivial changes (1)
  • docs/source/_templates/components/nav-versions.html
Additional comments not posted (2)
Makefile (2)

4-5: LGTM! But verify all references to the renamed target.

The env-clean target has been renamed to env-prune.

However, ensure that all references to env-clean have been updated to env-prune.

Verification successful

All references to env-clean have been updated to env-prune.

The env-clean target has been successfully renamed to env-prune without any remaining references to the old target.

  • No occurrences of env-clean found in the Makefile.
Scripts executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify all references to `env-clean` have been updated to `env-prune`.

# Test: Search for any references to `env-clean`. Expect: No results.
rg --type makefile $'env-clean'

Length of output: 63



Script:

#!/bin/bash
# Description: Verify all references to `env-clean` have been updated to `env-prune`.

# Test: Search for any references to `env-clean` in Makefiles. Expect: No results.
rg 'env-clean' --glob 'Makefile'

Length of output: 30


15-15: LGTM! But verify all references to the removed target.

The env-default target has been removed.

However, ensure that all references to env-default have been removed.

Verification successful

All references to env-default have been successfully removed.

The verification script found no remaining references to env-default in any Makefile.

Scripts executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify all references to `env-default` have been removed.

# Test: Search for any references to `env-default`. Expect: No results.
rg --type makefile $'env-default'

Length of output: 65



Script:

#!/bin/bash
# Description: Verify all references to `env-default` have been removed.

# Locate all Makefiles and search for references to `env-default`.
fd -e mk -e makefile | xargs rg 'env-default'

Length of output: 45

Makefile Outdated Show resolved Hide resolved
Copy link
Contributor

@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

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between b831397 and de991bf.

Files selected for processing (1)
  • Makefile (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • Makefile

Copy link
Contributor

@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

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between de991bf and ab0f0c8.

Files ignored due to path filters (1)
  • pyproject.toml is excluded by !**/*.toml
Files selected for processing (2)
  • .gitignore (1 hunks)
  • Makefile (2 hunks)
Files skipped from review due to trivial changes (1)
  • .gitignore
Files skipped from review as they are similar to previous changes (1)
  • Makefile

Copy link
Contributor

@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

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between ab0f0c8 and fc2c092.

Files selected for processing (1)
  • Makefile (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • Makefile

Copy link
Contributor

@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

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between fc2c092 and eef23f3.

Files selected for processing (2)
  • docs/source/_templates/partials/foot-socials.html (1 hunks)
  • docs/source/conf.py (1 hunks)
Files skipped from review due to trivial changes (2)
  • docs/source/_templates/partials/foot-socials.html
  • docs/source/conf.py

@pateash pateash merged commit 85caa0a into main Jul 2, 2024
14 checks passed
@pateash pateash deleted the readme-fix branch July 2, 2024 20:03
Copy link

sonarqubecloud bot commented Jul 2, 2024

@pateash pateash restored the readme-fix branch August 17, 2024 04:50
@pateash pateash deleted the readme-fix branch August 17, 2024 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation fix Some fix in current functionality github-actions Changes in CICD project-config
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant