Files
calendar-bot/pyproject.toml
T
2026-05-26 14:54:05 +09:00

56 lines
1.2 KiB
TOML

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "pvv-calendar-bot"
authors = [
{name = "Felix Albrigtsen", email = "felix@albrigtsen.it"},
{name = "Fredrik Robertsen", email = "fredrikrobertsen7@gmail.com"}
]
version = "1.0.0"
description = "PVV Calendar -> Matrix bot"
requires-python = ">=3.10"
keywords = []
license = {text = "MIT"}
dependencies = [
"beautifulsoup4",
"markdown2",
"matrix-nio",
"mysql-connector-python",
"requests"
]
[tool.setuptools.packages.find]
where = ["src"]
include = ["*"]
[project.scripts]
pvv-calendar-bot = "pvv_calendar_bot:main"
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"COM", # flake8-commas
"ANN",
"E", # pycodestyle
"F", # Pyflakes
"FA", # flake8-future-annotations
"I", # isort
"S", # flake8-bandit
"ICN", # flake8-import-conventions
"ISC", # flake8-implicit-str-concat
# "N", # pep8-naming
"PTH", # flake8-use-pathlib
"RET", # flake8-return
"SIM", # flake8-simplify
"TC", # flake8-type-checking
"UP", # pyupgrade
"YTT", # flake8-2020
]