feat: Add initial Mobilizon => Discord sync
This commit is contained in:
parent
246ef4c829
commit
3fe23fdc38
12 changed files with 545 additions and 49 deletions
|
|
@ -4,11 +4,36 @@ version = "0.1.0"
|
|||
description = "Share events between services."
|
||||
authors = [{ name = "Hackerspace Trójmiasto" }]
|
||||
readme = "README.md"
|
||||
license = { file = "LICENSE" }
|
||||
license-files = ["LICENSE"]
|
||||
|
||||
requires-python = ">=3.13"
|
||||
|
||||
dependencies = []
|
||||
dependencies = [
|
||||
"beautifulsoup4==4.13.4",
|
||||
"brevo-python==1.1.2",
|
||||
"bs4==0.0.2",
|
||||
"cachetools==6.1.0",
|
||||
"certifi==2025.4.26",
|
||||
"charset-normalizer==3.4.2",
|
||||
"cssselect==1.3.0",
|
||||
"cssutils==2.11.1",
|
||||
"discord.py==2.7.1",
|
||||
"html5lib==1.1",
|
||||
"idna==3.10",
|
||||
"Jinja2==3.1.6",
|
||||
"lxml==6.0.0",
|
||||
"MarkupSafe==3.0.2",
|
||||
"more-itertools==10.7.0",
|
||||
"premailer==3.10.0",
|
||||
"python-dateutil==2.9.0.post0",
|
||||
"python-dotenv==1.1.1",
|
||||
"requests==2.32.4",
|
||||
"six==1.17.0",
|
||||
"soupsieve==2.7",
|
||||
"typing_extensions==4.14.0",
|
||||
"urllib3==2.5.0",
|
||||
"webencodings==0.5.1",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
dev = ["pre-commit", "pre-commit-hooks", "pytest", "ruff"]
|
||||
|
|
@ -18,47 +43,47 @@ kronos = "kronos.main:_main"
|
|||
|
||||
[tool.ruff]
|
||||
exclude = [
|
||||
".bzr",
|
||||
".direnv",
|
||||
".eggs",
|
||||
".git",
|
||||
".git-rewrite",
|
||||
".hg",
|
||||
".ipynb_checkpoints",
|
||||
".mypy_cache",
|
||||
".nox",
|
||||
".pants.d",
|
||||
".pyenv",
|
||||
".pytest_cache",
|
||||
".pytype",
|
||||
".ruff_cache",
|
||||
".svn",
|
||||
".tox",
|
||||
".venv",
|
||||
".vscode",
|
||||
"__pypackages__",
|
||||
"_build",
|
||||
"buck-out",
|
||||
"build",
|
||||
"dist",
|
||||
"node_modules",
|
||||
"site-packages",
|
||||
"venv",
|
||||
".bzr",
|
||||
".direnv",
|
||||
".eggs",
|
||||
".git",
|
||||
".git-rewrite",
|
||||
".hg",
|
||||
".ipynb_checkpoints",
|
||||
".mypy_cache",
|
||||
".nox",
|
||||
".pants.d",
|
||||
".pyenv",
|
||||
".pytest_cache",
|
||||
".pytype",
|
||||
".ruff_cache",
|
||||
".svn",
|
||||
".tox",
|
||||
".venv",
|
||||
".vscode",
|
||||
"__pypackages__",
|
||||
"_build",
|
||||
"buck-out",
|
||||
"build",
|
||||
"dist",
|
||||
"node_modules",
|
||||
"site-packages",
|
||||
"venv",
|
||||
]
|
||||
|
||||
line-length = 100
|
||||
indent-width = 4
|
||||
indent-width = 2
|
||||
target-version = "py313"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
# pycodestyle
|
||||
"E",
|
||||
"W",
|
||||
# pyflakes
|
||||
"F",
|
||||
# pylint
|
||||
"PL",
|
||||
# pycodestyle
|
||||
"E",
|
||||
"W",
|
||||
# pyflakes
|
||||
"F",
|
||||
# pylint
|
||||
"PL",
|
||||
]
|
||||
ignore = []
|
||||
fixable = ["ALL"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue