Commit Graph

6 Commits

Author SHA1 Message Date
leo
7973f63473
flake,go,pre-commit: add p3 2023-03-04 14:51:37 +01:00
leo
bd164878a0
pre-commit: bump pre-commit-hooks to v4.4.0 2023-02-25 19:14:17 +01:00
leo
fd98b38fe1
pre-commit: add hook to validate config 2023-02-25 19:13:31 +01:00
leo
ece4d1335c
pre-commit: use TekWizely/pre-commit-golang for Go 2023-02-25 19:10:38 +01:00
leo
01cdd03dac
p2: implement file reading+basic data operations
also, update .pre-commit-config.yaml to:
* first change to ./p2, then run the tests (pre-commit deliberately does
  not allow this by design [1])
* for the above, the https://github.com/dnephin/pre-commit-golang repo
  had to be dropped as it does not allow any customisation either.

also, add some flake updates (would be better split into another commit,
I know):
* use baseurl var
* add statix to shell packages
* fix building p1

refs:
[1]: https://github.com/pre-commit/pre-commit/issues/1110
2023-02-24 23:50:13 +01:00
leo
8de860a22a
add .pre-commit-config.yaml 2023-01-28 19:24:26 +01:00