feat: Add initial Mobilizon => Discord sync #1

Merged
doomhammer merged 2 commits from add-initial-approach into main 2026-04-20 18:42:05 +00:00
Collaborator

Closes #2 , #3

Closes #2 , #3
doomhammer added 1 commit 2026-04-01 13:42:58 +00:00
kinter approved these changes 2026-04-02 08:39:19 +00:00
leming requested changes 2026-04-12 10:30:20 +00:00
Dismissed
.envrc Outdated
@ -1,5 +1,11 @@
#!/usr/bin/env bash
if ! has nix_direnv_version || ! nix_direnv_version 3.0.5; then
Owner

Check if actually needed.
Add explanation comment.

Check if actually needed. Add explanation comment.
@ -25,7 +25,7 @@ repos:
- id: ruff-format
name: Ruff format
description: Format.
entry: ruff format --check --config pyproject.toml
Owner

This was done on purpose - check only in pre-commit hook, force dev to know what formatting has happened.

This was done on purpose - check only in pre-commit hook, force dev to know what formatting has happened.
Author
Collaborator

Then we should have a command that runs all the linters and formatters as we seem to have checks that enforce certain rules but don't have a command to apply those rules.

Then we should have a command that runs all the linters and formatters as we seem to have checks that enforce certain rules but don't have a command to apply those rules.
Owner

#19

https://forge.hs3.pl/leming/kronos/issues/19
@ -5,3 +5,3 @@
authors = [{ name = "Hackerspace Trójmiasto" }]
readme = "README.md"
license = { file = "LICENSE" }
license-files = ["LICENSE"]
Owner

What is the reason for change?

What is the reason for change?
Author
Collaborator

uv made me do it

uv made me do it
@ -18,47 +43,47 @@ kronos = "kronos.main:_main"
Owner

Does kronos command still work?

Does `kronos` command still work?
Author
Collaborator

yes

yes
@ -48,3 +73,3 @@
line-length = 100
indent-width = 4
indent-width = 2
Owner

What is the reason for change?

What is the reason for change?
Author
Collaborator
  1. I prefer smaller files
  2. For some reason ruff seemed to like the line length when formatting but not when linting. Using 2 spaces for indent made it shut its yap. I know, ugly. And disgusting. But I spent too much time looking for a solution...
1. I prefer smaller files 2. For some reason ruff seemed to like the line length when formatting but not when linting. Using 2 spaces for indent made it shut its yap. I know, ugly. And disgusting. But I spent too much time looking for a solution...
shell.nix Outdated
@ -0,0 +1,8 @@
{
Owner

Not an issue, but let me know what happens here.

Not an issue, but let me know what happens here.
Author
Collaborator

I'll add the comments to the file

I'll add the comments to the file
@ -0,0 +91,4 @@
def prepare_events_for_template(raw_events: list) -> list:
jours_semaine = [
Owner

What's with the french?

What's with the french?
Author
Collaborator

It was stolen from the French: https://github.com/cleming/newsletter-kalepin

It was stolen from the French: https://github.com/cleming/newsletter-kalepin
doomhammer marked this conversation as resolved
doomhammer added 1 commit 2026-04-13 08:53:45 +00:00
leming approved these changes 2026-04-14 09:38:32 +00:00
doomhammer merged commit 2ec156422b into main 2026-04-20 18:42:05 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: leming/kronos#1
No description provided.