https://github.com/byceps/byceps
Tip revision: 1816cfac7a6812598318bfbb016c4256e13440d7 authored by Jochen Kupperschmidt on 12 September 2024, 07:24:31 UTC
Fix type conversion
Fix type conversion
Tip revision: 1816cfa
pyproject.toml
[project]
name = "BYCEPS"
version = "0.0"
requires-python = ">=3.11"
authors = [
{ name = "Jochen Kupperschmidt", email = "homework@nwsnet.de" },
]
description = "LAN party web platform"
readme = "README.rst"
license = { text = "Revised BSD License" }
keywords = [ "lanparty" ]
classifiers = [
"Environment :: Web Environment",
"Framework :: Flask",
"Intended Audience :: Developers",
"Intended Audience :: Other Audience",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Natural Language :: German",
"Programming Language :: JavaScript",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Topic :: Communications",
"Topic :: Games/Entertainment",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Content Management System",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary",
]
[project.scripts]
byceps = "byceps.cli.cli:cli"
[project.urls]
Homepage = "https://byceps.nwsnet.de/"
Documentation = "https://byceps.readthedocs.io/"
Repository = "https://github.com/byceps/byceps"
[build-system]
requires = [ "setuptools" ]
build-backend = "setuptools.build_meta"
[tool.mypy]
python_version = "3.11"
plugins = "sqlalchemy.ext.mypy.plugin"
ignore_missing_imports = true
no_implicit_optional = true
[tool.pytest.ini_options]
addopts = "-vv -ra"
testpaths = [ "tests/unit", "tests/integration" ]
[tool.ruff]
line-length = 80
[tool.ruff.format]
quote-style = "single"
line-ending = "lf"
[tool.ruff.lint]
select = [
"B",
"E",
"EXE",
"F",
"G",
"ICN",
"ISC",
"PLE",
"PLW",
"PTH",
"PYI",
"Q",
"RSE",
"S",
"TID",
"UP",
"W",
"YTT",
]
ignore = [
"E501", # Line too long
"ISC001", # Conflict with Ruff's formatter
"Q001", # Conflict with Ruff's formatter
"W291", # Trailing whitespace (because of email signature, `-- `)
]
[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"
multiline-quotes = "single"
[tool.ruff.lint.isort]
combine-as-imports = true
force-sort-within-sections = true
forced-separate = [ "tests" ]
lines-after-imports = 2
order-by-type = false
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = [ "S101", "S105", "S106", "S107" ]
[tool.setuptools]
packages = [ "byceps" ]