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

Refactor PLEIADES repo following new PEP8 standards #23

Merged
merged 46 commits into from
Jan 22, 2025

Conversation

KedoKudo
Copy link
Collaborator

@KedoKudo KedoKudo commented Dec 4, 2024

This PR is preparing for the v2.0 of PLEIADES via refactoring.
Both the main structure and API are changed.
V2.0 is still a work in progress, please use main branch until 2.0 is ready.


This pull request includes several significant changes aimed at improving the test automation, code quality, and documentation of the project. The most important changes are the addition of a GitHub Actions workflow for running unittests, updates to the pre-commit configuration, and comprehensive documentation for the PLEIADES architecture and refactoring plans. Additionally, there are removals of outdated configuration files.

Test Automation:

  • .github/workflows/unittest.yaml: Added a GitHub Actions workflow to run unittests on pull requests and pushes to the main branch. This includes setting up Python, installing dependencies with Poetry, and running tests with pytest.

Code Quality:

  • .pre-commit-config.yaml: Updated the pre-commit configuration to exclude new directories (tests/data/.* and legacy/.*) from certain hooks, ensuring that only relevant files are checked.

Documentation:

  • docs/development/architecture_v1.md: Added detailed documentation for the PLEIADES v1 architecture, including system architecture, module details, an example workflow, and opportunities for enhancement.
  • docs/development/architecture_v2.md: Added a refactoring design document for PLEIADES, outlining the goals, proposed architecture, and refactoring guidelines to address current challenges such as tight coupling and inconsistent error handling.

Configuration Cleanup:

EWM item: 8201

@KedoKudo KedoKudo marked this pull request as draft December 4, 2024 18:57
@KedoKudo KedoKudo changed the base branch from main to v2.0 January 22, 2025 18:03
@KedoKudo KedoKudo marked this pull request as ready for review January 22, 2025 19:48
@KedoKudo KedoKudo changed the title [WIP] Refactor PLEIADES repo following new PEP8 standards Refactor PLEIADES repo following new PEP8 standards Jan 22, 2025
@KedoKudo KedoKudo merged commit 081c50d into v2.0 Jan 22, 2025
1 check passed
@KedoKudo KedoKudo deleted the refactor_2nd_attempt branch January 22, 2025 19:51
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