Commit graph

24 commits

Author SHA1 Message Date
bronsen
c88868a95c [CI] --upgrade-deps did not do what I expected, so we update pip ourselves
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2024-11-21 20:45:00 +01:00
bronsen
21648db283 [CI] use specialized image for ruff, run tests in their own step
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2024-11-21 20:30:05 +01:00
bronsen
05f39708b2 [CI] is it slim?
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
2024-11-21 20:15:31 +01:00
bronsen
5b121f9948 [ci] I can has python 3.12?
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
2024-11-21 20:08:00 +01:00
bronsen
93df0d75d5 [ci] use a pythonic image
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
inspired by
https://codeberg.org/Codeberg-CI/examples/src/branch/main/Python/.woodpecker/code-quality.yaml
2024-11-21 20:07:14 +01:00
bronsen
e70af2376b [ci] create woodpecker pipline thing
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
It's gonna break anyway
2024-11-21 19:47:14 +01:00
bronsen
1d44ea830e [settings] Make it more complicated, why not 2024-11-21 19:46:35 +01:00
bronsen
f3bdb36ca8 [requirements] have manage.py ensure requirements are up to date 2024-11-21 19:46:09 +01:00
bronsen
77512fc73c [tooling] Expose commands that are used; add aliases and default recipe 2024-11-21 12:29:53 +01:00
bronsen
ca09a2916e [settings] remove some empty lines 2024-11-21 12:29:19 +01:00
bronsen
d635b7ba05 [tooling] Create simple justfile
Let's see how well it works out for us
2024-11-21 12:19:37 +01:00
bronsen
71c492c648 [meta] Activate Python Development mode 2024-11-21 12:19:06 +01:00
bronsen
cd0b9d9c96 [pytest] Tell it where tests are
Also tell coverage how to behave
2024-11-21 12:16:59 +01:00
bronsen
f4ed431a94 [meta] Use .envrc to set up env variables and activate the virtualenv 2024-11-21 12:16:17 +01:00
bronsen
3603d26f1e [project] start with minimal project
mainly, so we have a `manage.py` script
2024-11-21 12:04:40 +01:00
bronsen
28f7db8b72 [requirements] Rely on django-configurations to manage Django settings 2024-11-21 12:03:42 +01:00
bronsen
b5663d1bc8 [foo] Add a module so we can test and create a coverage report 2024-11-20 23:39:54 +01:00
bronsen
a7c73f559f [pre-commit] add hook to verify the compiled requirements are up-to-date 2024-11-20 23:39:22 +01:00
bronsen
00be7b7ff5 [meta] describe project in pyproject.toml
Dependencies are still in requirements/*
2024-11-20 23:38:51 +01:00
bronsen
06a855214a [requirements] shuffle requirements around
adding this, removing that
2024-11-20 23:38:07 +01:00
bronsen
5552177b14 [requirements] add pytest, ruff to test requirements 2024-11-20 21:55:24 +01:00
bronsen
391bf129ed [requirements] organize multi-level requirements in extra directory 2024-11-20 21:54:33 +01:00
bronsen
1ff3baff49 [requirements] add django and recompile using pip-compile 2024-11-20 21:23:41 +01:00
bronsen
0330950c19 initial commit with populated .gitignore 2024-11-20 21:23:32 +01:00