python-project-template icon indicating copy to clipboard operation
python-project-template copied to clipboard

Python project best practices for scientific software

Results 51 python-project-template issues
Sort by recently updated
recently updated
newest added

If I do not select `isort` and/or `black` with copier, I still have its configuration in `pyproject.toml` ```toml [tool.black] line-length = 110 target-version = ["py38"] [tool.isort] profile = "black" line_length...

Currently `pytest` looks into `tests` and runs tests from there. It would be also very convenient to run docstring examples as docstrings with CI and pre-commit. See pytest doctest docs...

question

It can be easier to have some notebooks not get re-executed in CI, and with a few tweaks (and a README explaining the why and how) it is possible to...

Faced this issue while deploying a package, so thought it will be better to be explicit about this in the documentation for setting up PyPi (https://lincc-ppt.readthedocs.io/en/latest/practices/pypi.html). When creating a PyPI...

PPT enables hydrated projects to use dependabot, but this is not enabled for the PPT project itself.

The PPT supports smoke test failure notifications for hydrated project, but when the PPT project itself fails, we also need to send the failures to the newly-created lincc-dev slackbot.

e.g. https://github.com/astronomy-commons/hipscat-cloudtests/actions/runs/8015681836 The action failed for python 3.9 and 3.10, and was cancelled for 3.11. We received two alerts, but they each had the same action/run URL, so it looked...

help wanted

We currently offer email and slack notifications. I think it would be prudent to create a new issue for smoke test failures (or append to an existing issue).

new option

We've seen a few different python/c++ projects now, particularly those that use pybind. It also seems like the modifications to the PPT are small enough that we could create an...

There are few places where data really becomes important. Tests, notebooks, and generally for the package. We've seen many instances where a package requires a large amount of data to...

enhancement