Files
ThreadNet-Web/modules/restricted-guests/synapse/setup.cfg
T
Andrew Ferrazzutti 523758cbea synapse guest module: move license files
Move them into the module folder so that they'll be properly included
in distribution builds, such as when installing this module via pip.

Also reword copyright headers to refer to the project root instead of
the repository root, which isn't included in distribution builds.
2025-02-12 15:42:18 -05:00

50 lines
1.1 KiB
INI

[metadata]
name = synapse_guest_module
description = A synapse module to restrict the actions of guests
long_description = file: README.md
long_description_content_type = text/markdown
version = 1.0.0
license = AGPL-3.0-only OR LicenseRef-Element-Commercial
license_files =
LICENSE-AGPL-3.0
LICENSE-COMMERCIAL
[options]
packages =
synapse_guest_module
python_requires = >= 3.7
install_requires =
attrs
[options.package_data]
synapse_guest_module = py.typed
[options.extras_require]
dev =
# for tests
matrix-synapse
tox
twisted
aiounittest
# for type checking
mypy == 1.10.0
pydantic == 2.4.2
# for linting
black == 22.3.0
flake8 == 4.0.1
isort == 5.9.3
[flake8]
# see https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
# for error codes. The ones we ignore are:
# W503: line break before binary operator
# W504: line break after binary operator
# E203: whitespace before ':' (which is contrary to pep8?)
# E501: Line too long (black enforces this for us)
# (this is a subset of those ignored in Synapse)
ignore=W503,W504,E203,E501