https://github.com/byceps/byceps
Raw File
Tip revision: 7913dde815baf4681bec67f937becfb4b5f89298 authored by Jochen Kupperschmidt on 08 April 2024, 07:20:43 UTC
Tweak user profile header styling
Tip revision: 7913dde
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" ]
back to top