Commit Graph

3188 Commits

Author SHA1 Message Date
73dbad0167 clan-cli: drop duplicate entrypoint
not sure what's the use case of multiple main function is
2023-07-21 11:30:38 +02:00
c87db7106a Merge pull request 'clan-cli: dev-shell, build, tab completion, formatting, linting, unit tests' (#11) from cli into main
Reviewed-on: #11
2023-07-21 09:26:57 +00:00
3ab90e6785 add deadnix to formatter 2023-07-21 11:25:24 +02:00
22849366d8 apply ruff autoformatting 2023-07-21 11:22:02 +02:00
88295ce77d treefmt: add ruff + black 2023-07-21 11:21:54 +02:00
e4fbb08f91 make argcomplete optional
In case someone ever messes up the PYTHONPATH this will gracefull degrade
2023-07-21 11:19:03 +02:00
DavHau
4c4ff01b64 clan-cli: write some unit tests 2023-07-21 11:19:03 +02:00
DavHau
a0701bf988 clan-cli: expose via flake packages 2023-07-21 11:19:03 +02:00
DavHau
af7e4d7bb9 clan-cli: shell completion for bash, zsh, fish 2023-07-21 11:19:03 +02:00
DavHau
1e5cce99a9 clan-cli: manage sub-commands via python argparse 2023-07-21 11:19:03 +02:00
DavHau
95df33e2bc clan-cli: rename clan-admin.py -> clan_admin.py 2023-07-21 11:19:03 +02:00
DavHau
b34141283f clan-cli: fix mypy 2023-07-21 11:19:03 +02:00
DavHau
9906d12384 clan-cli: initialize python project from template
clan-cli: remove unnecessary unit test file

clan-cli: fix shell.nix too stateful

clan-cli: remove conftest.py

clan-cli: fix flake-module.nix
2023-07-21 11:19:03 +02:00
fb394f29ae Merge pull request 'switch from alejandra -> nixpkgs-fmt' (#12) from formatting into main
Reviewed-on: #12
2023-07-21 09:15:48 +00:00
9aaac528f8 switch from alejandra -> nixpkgs-fmt
alejandra has someone questionable choices for formatting that no one would apply to there code if they would format manually.
nixpkgs-fmt seems to produce more readable results.
2023-07-21 11:15:28 +02:00
DavHau
cf583e2d44 templates/python: improve shell.nix 2023-07-21 02:05:11 +02:00
DavHau
178df2eccb templates/python: fix flake-module.nix 2023-07-21 02:05:11 +02:00
DavHau
908a79be0e templates/python: add command check to run all checks 2023-07-20 18:30:27 +02:00
DavHau
f7388021ae templates: fix default.nix for python project 2023-07-20 18:05:39 +02:00
DavHau
e445beeb0b templates: cleanup python template 2023-07-20 17:55:28 +02:00
DavHau
eaaf0d2992 Merge pull request 'templates: add python-project' (#10) from python-template into main 2023-07-20 15:49:45 +00:00
cadfb90bd3 Merge pull request 'pkgs.clan: init barebones version' (#7) from clan-init into main
Reviewed-on: #7
2023-07-19 15:56:41 +00:00
e3af3e9fb6 pkgs.clan: init barebones version 2023-07-17 18:53:29 +02:00
5ff515ac02 Merge pull request 'docs: add use-cases for different kinds of users' (#5) from use-cases into main
Reviewed-on: #5
2023-07-17 12:08:02 +00:00
DavHau
7f691a0cd0 docs: add use-cases for different kinds of users 2023-07-17 14:03:19 +02:00
6ed261da1e README: rename to core, clarify 2023-07-14 09:10:42 +00:00
4af5df0da2 Merge pull request 'format all files' (#4) from format-all into main
Reviewed-on: clan/clan-baseos#4
2023-07-12 17:53:14 +00:00
3035837410 Merge pull request 'chore: add module for formatting' (#3) from chore into main
Reviewed-on: clan/clan-baseos#3
2023-07-12 17:53:08 +00:00
DavHau
5d04a17ecd treewide: format all files 2023-07-12 19:50:23 +02:00
DavHau
4036df90d2 chore: add module for formatting
This will export a check for formatting and makes `nix fmt` use treefmt
2023-07-12 19:24:05 +02:00
DavHau
af94d11b1a refactor: move package.nix -> flake-parts/packages.nix 2023-07-12 18:33:18 +02:00
DavHau
9e366d62a8 chore: export packages in flake 2023-07-12 18:25:25 +02:00
DavHau
1ecd33f498 chore: add .gitignore 2023-07-12 18:22:29 +02:00
29cd36d916 pkgs: init go-ssb 2023-07-11 17:19:24 +02:00
4943aadf73 flake: all-formats was merged in upstream nixos-generators 2023-07-07 16:05:38 +02:00
cf83847eb7 installer: put lower compression at correct location 2023-07-07 16:05:20 +02:00
cc1dcaede4 add barebones installer, not tested yet 2023-07-07 15:55:13 +02:00
72ce92a5ce init 2023-07-07 14:17:23 +02:00