Thanks for considering to contribute to this project! Some guidelines:
- Go through the issue list and if needed create a relevant issue to discuss the change design. On disagreements, maintainer(s) will have the final word.
- You can expect a response from a maintainer within 7 days. If you haven’t heard anything by then, feel free to ping the thread.
- This package tries to be as simple as possible for the user (hide any complexity from the user). Options are only added when there is clear value to the majority of users.
- When issues or pull requests are not going to be resolved or merged, they should be closed as soon as possible. This is kinder than deciding this after a long period. Our issue tracker should reflect work to be done.
This project uses uv. Install the project and its development dependencies with:
uv syncRun the unit tests and the linter with:
make testOr separately:
uv run pytest --cov=mkdocs_table_reader_plugin --cov-report term-missing tests
uv run ruff check src/ tests/If it makes sense, writing tests for your PRs is always appreciated and will help get them merged.
Make sure your code roughly follows PEP-8 and keeps things consistent with the rest of the code. ruff is configured in pyproject.toml and fixes what it can automatically.
We use google-style docstrings.
Preview the documentation site locally with:
make serve_docsEvery push to master deploys the site to GitHub Pages through the documentation.yml workflow. You can also deploy by hand with make deploy_docs.
-
Update
__version__insrc/mkdocs_table_reader_plugin/__init__.pyand add an entry toCHANGELOG.md. -
Commit, then tag and push:
git tag v<version> git push origin master --tags
-
Create a GitHub release for the tag. That triggers the
pythonpublish.ymlworkflow, which runs the tests and publishes to PyPI.