pyproject.toml
73 lines
| 1.6 KiB
| application/toml
|
TOMLLexer
r1101 | [build-system] | |||
requires = ["setuptools>=61.0.0", "wheel"] | ||||
build-backend = "setuptools.build_meta" | ||||
r1099 | [project] | |||
name = "rhodecode-vcsserver" | ||||
r1101 | description = "Version Control System Server for RhodeCode" | |||
authors = [ | ||||
{name = "RhodeCode GmbH", email = "support@rhodecode.com"}, | ||||
] | ||||
license = {text = "GPL V3"} | ||||
r1099 | requires-python = ">=3.10" | |||
r1102 | dynamic = ["version", "readme", "dependencies", "optional-dependencies"] | |||
r1101 | classifiers = [ | |||
'Development Status :: 6 - Mature', | ||||
'Intended Audience :: Developers', | ||||
'Operating System :: OS Independent', | ||||
'Topic :: Software Development :: Version Control', | ||||
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', | ||||
'Programming Language :: Python :: 3.10', | ||||
] | ||||
[project.entry-points."paste.app_factory"] | ||||
main = "vcsserver.http_main:main" | ||||
r1102 | ||||
r1101 | [tool.setuptools] | |||
packages = ["vcsserver"] | ||||
[tool.setuptools.dynamic] | ||||
readme = {file = ["README.rst"], content-type = "text/rst"} | ||||
version = {file = "vcsserver/VERSION"} | ||||
r1102 | dependencies = {file = ["requirements.txt"]} | |||
optional-dependencies.tests = {file = ["requirements_test.txt"]} | ||||
r1099 | ||||
[tool.ruff] | ||||
r1170 | ||||
r1099 | select = [ | |||
# Pyflakes | ||||
"F", | ||||
# Pycodestyle | ||||
"E", | ||||
"W", | ||||
# isort | ||||
"I001" | ||||
] | ||||
r1170 | ||||
r1099 | ignore = [ | |||
"E501", # line too long, handled by black | ||||
] | ||||
r1170 | ||||
r1099 | # Same as Black. | |||
line-length = 120 | ||||
r1170 | [tool.ruff.isort] | |||
r1155 | ||||
r1099 | known-first-party = ["vcsserver"] | |||
r1155 | ||||
r1170 | [tool.ruff.format] | |||
# Like Black, use double quotes for strings. | ||||
quote-style = "double" | ||||
# Like Black, indent with spaces, rather than tabs. | ||||
indent-style = "space" | ||||
# Like Black, respect magic trailing commas. | ||||
skip-magic-trailing-comma = false | ||||
# Like Black, automatically detect the appropriate line ending. | ||||
line-ending = "auto" | ||||