Jens Tröger

Results 118 issues of Jens Tröger

We have talked about [`ruff`](https://beta.ruff.rs/) before, so this adds an initial setup to play around with. See also https://github.com/jenstroeger/python-package-template/issues/5#issuecomment-1521568770. Even though `ruff` is supposed to be a [drop-in replacement for...

The [`prune`](https://github.com/jenstroeger/python-package-template/blob/d4544af5a74bfb0763321c1094ebcc68b2d91ff7/Makefile#L210-L223) goal in our Makefile is intended to remove those installed packages that are not direct or indirect dependencies of the repo package itself. Because [`pip` doesn’t provide a...

bug
SLSA

Based on the [community profile](https://github.com/jenstroeger/python-package-template/community) a few files are missing: - Code of conduct - Contributing - Issue templates - PR template Consider adding those files, and perhaps go browsing...

help wanted
good first issue

We currently have no way to measure the performance of some functions in the package, or to track performance regressions of said functions. Packages like [pytest-benchmark](https://github.com/ionelmc/pytest-benchmark) plug directly into `pytest`,...

Closes https://github.com/jenstroeger/python-package-template/issues/542 However, this new `make` target does not consider — in a way even duplicates! — how the Action workflows proceed. Unless we consider PR https://github.com/jenstroeger/python-package-template/pull/537, trying to lower...

Git allows for signing commits and tags, see also the [Signing Your Work](https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work) chapter. Furthermore, [twine upload](https://twine.readthedocs.io/en/stable/index.html#twine-upload) allows for signing packages when uploading them to a PyPI server. Related to...

security
SLSA
github_actions

Just playing around with badges, which ones we want to show and how… [![license](https://img.shields.io/badge/license-MIT-blue)](https://github.com/jenstroeger/python-package-template/blob/main/LICENSE.md) [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-yellow?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit) [![conventional-commits](https://img.shields.io/badge/conventional%20commits-1.0.0-yellow)](https://www.conventionalcommits.org/en/v1.0.0/) [![black](https://img.shields.io/badge/code%20style-black-black)](https://github.com/psf/black) [![bandit](https://img.shields.io/badge/security-bandit-plum)](https://github.com/PyCQA/bandit) [![codeql](https://img.shields.io/badge/security-CodeQL-plum)](https://github.com/github/codeql) [![mypy](https://img.shields.io/badge/code%20qa-mypy-teal)](http://mypy-lang.org/) [![flake8](https://img.shields.io/badge/code%20qa-flake8-teal)](https://flake8.pycqa.org/) [![pylint](https://img.shields.io/badge/code%20qa-pylint%2010%2F10-teal)](http://pylint.org/) [![pytest](https://img.shields.io/badge/testing-pytest-brightgreen)](https://github.com/pytest-dev/pytest) [![hypothesis](https://img.shields.io/badge/testing-hypothesis-brightgreen)](https://hypothesis.works/) [![coverage](https://img.shields.io/badge/testing-coverage%20100%25-brightgreen)](https://github.com/nedbat/coveragepy) Here I focused more on...

Imagine Github is down and Action workflows aren’t available, and you want to publish the next release of your package… 😳 We currently still have small blobs of code in...

I’ve used [`rsync`](https://linux.die.net/man/1/rsync) in the past but unfortunately I’m not deeply familiar with _all_ of its features. My main concern about using `rsync` is that it clobbers the local files,...

ci

Looking at Step Security’s [Harden Runner results](https://app.stepsecurity.io/github/jenstroeger/python-package-template/actions/runs/4222519143) (see workflow run [4222519143](https://github.com/jenstroeger/python-package-template/actions/runs/4222519143)) it would probably make sense to incorporate their Recommended Policy feedback for the four runs we use in our...

enhancement
security
ci
github_actions