Skip to content

Refactor coding convention for this repository#1

Open
zhenyuan0502 wants to merge 1 commit intomainfrom
refactor-conventions
Open

Refactor coding convention for this repository#1
zhenyuan0502 wants to merge 1 commit intomainfrom
refactor-conventions

Conversation

@zhenyuan0502
Copy link
Owner

@zhenyuan0502 zhenyuan0502 commented Dec 13, 2024

Refactor coding conventions across the repository.

  • actions/fetcher.py:

    • Add docstrings to all functions.
    • Standardize variable naming conventions.
    • Ensure consistent indentation.
    • Organize imports.
  • app.py:

    • Add docstrings to all functions.
    • Standardize variable naming conventions.
    • Ensure consistent indentation.
  • libs/stats.py:

    • Add docstrings to all functions.
    • Correct function name from get_data_temlate to get_data_template.
  • libs/text_utils.py:

    • Add docstrings to all functions.
  • july/helpers.py:

    • Organize imports in a clear structure.
  • july/plot.py:

    • Organize imports in a clear structure.
  • actions/action.yaml:

    • Use consistent quotes throughout the file.
  • .github/workflows/devchart-fetcher-flow.yaml:

    • Use consistent quotes throughout the file.

For more details, open the Copilot Workspace session.

Refactor coding conventions across the repository.

* **`actions/fetcher.py`**:
  - Add docstrings to all functions.
  - Standardize variable naming conventions.
  - Ensure consistent indentation.
  - Organize imports.

* **`app.py`**:
  - Add docstrings to all functions.
  - Standardize variable naming conventions.
  - Ensure consistent indentation.

* **`libs/stats.py`**:
  - Add docstrings to all functions.
  - Correct function name from `get_data_temlate` to `get_data_template`.

* **`libs/text_utils.py`**:
  - Add docstrings to all functions.

* **`july/helpers.py`**:
  - Organize imports in a clear structure.

* **`july/plot.py`**:
  - Organize imports in a clear structure.

* **`actions/action.yaml`**:
  - Use consistent quotes throughout the file.

* **`.github/workflows/devchart-fetcher-flow.yaml`**:
  - Use consistent quotes throughout the file.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/zhenyuan0502/DevChart?shareId=XXXX-XXXX-XXXX-XXXX).
@zhenyuan0502 zhenyuan0502 requested a review from Copilot December 13, 2024 02:53
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 8 changed files in this pull request and generated no comments.

Files not reviewed (3)
  • actions/action.yaml: Evaluated as low risk
  • july/plot.py: Evaluated as low risk
  • july/helpers.py: Evaluated as low risk

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