tobymao / saq

Simple Async Queues
https://saq-py.readthedocs.io/en/latest/
MIT License
532 stars 37 forks source link

Make repository and project itself more friendly for future contributions #94

Closed fadedDexofan closed 1 year ago

fadedDexofan commented 1 year ago

I want to try to implement the plan indicated in the title and prepare the repository for future contributions and possible participation in Hacktoberfest 2023.

And so here is the plan in my vision point by point:

  1. Move all package and build managing to PDM. Something like done recently in Pydantic
  2. Use Ruff and Black (already used) to all code-style checking, linting and formatting.
  3. Add pre-commit hooks
  4. Revisit type annotations with stricter and more precise mypy configuration
  5. Migrate old test suites based on unittest to pytest
  6. Write CONTRIBUTING.md guide to cover all these steps
  7. Add hacktoberfest topic to repo 😄
fadedDexofan commented 1 year ago

@tobymao need your approvement

tobymao commented 1 year ago

I want to try to implement the plan indicated in the title and prepare the repository for future contributions and possible participation in Hacktoberfest 2023.

And so here is the plan in my vision point by point:

1. Move all package and build managing to [PDM](https://github.com/pdm-project/pdm). Something like done recently in [Pydantic](https://github.com/pydantic/pydantic/blob/main/pyproject.toml)

NO

  1. Use Ruff and Black (already used) to all code-style checking, linting and formatting. YES ( remove everything else except ruff and black )
  2. Add pre-commit hooks NO
  3. Revisit type annotations with stricter and more precise mypy configuration YES
  4. Migrate old test suites based on unittest to pytest NO
  5. Write CONTRIBUTING.md guide to cover all these steps YES
  6. Add hacktoberfest topic to repo 😄 NO

Happy to discuss, look forward to your PRs.