##// END OF EJS Templates
core: synced pyproject with ce
core: synced pyproject with ce

File last commit:

r1322:17850151 default
r1322:17850151 default
Show More
pyproject.toml
99 lines | 2.5 KiB | application/toml | TOMLLexer
project: switched completly to pyproject.toml
r1101 [build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
project: added pyproject.toml file
r1099 [project]
name = "rhodecode-vcsserver"
project: switched completly to pyproject.toml
r1101 description = "Version Control System Server for RhodeCode"
authors = [
{name = "RhodeCode GmbH", email = "support@rhodecode.com"},
]
core: synced pyproject with ce
r1322 keywords = [
'rhodecode', 'mercurial', 'git', 'svn',
'code review',
'repo groups', 'ldap', 'repository management', 'hgweb',
'hgwebdir', 'gitweb', 'serving hgweb',
]
project: switched completly to pyproject.toml
r1101 license = {text = "GPL V3"}
project: added pyproject.toml file
r1099 requires-python = ">=3.10"
package: fix dev-env, bumped some deps to be consistent
r1102 dynamic = ["version", "readme", "dependencies", "optional-dependencies"]
project: switched completly to pyproject.toml
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"
package: fix dev-env, bumped some deps to be consistent
r1102
project: switched completly to pyproject.toml
r1101 [tool.setuptools]
packages = ["vcsserver"]
core: synced pyproject with ce
r1322 include-package-data = true
[tool.setuptools.exclude-package-data]
"vcsserver" = ["__pycache__"]
project: switched completly to pyproject.toml
r1101
[tool.setuptools.dynamic]
readme = {file = ["README.rst"], content-type = "text/rst"}
version = {file = "vcsserver/VERSION"}
package: fix dev-env, bumped some deps to be consistent
r1102 dependencies = {file = ["requirements.txt"]}
optional-dependencies.tests = {file = ["requirements_test.txt"]}
project: added pyproject.toml file
r1099
[tool.ruff]
core: cleanup pyproject and makefile
r1314 lint.select = [
project: added pyproject.toml file
r1099 # Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I001"
]
core: cleanup pyproject and makefile
r1314 lint.ignore = [
project: added pyproject.toml file
r1099 "E501", # line too long, handled by black
]
# Same as Black.
line-length = 120
core: cleanup pyproject and makefile
r1314 [tool.ruff.lint.isort]
project: added pyproject.toml file
r1099 known-first-party = ["vcsserver"]
updated configs
r1155
switch to ruff from black
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"
core: synced pyproject with ce
r1322
core: switched bumpversion to pyproject setup, to deprecate bumpversion
r1308 [tool.bumpversion]
current_version = "5.4.0"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
tag = false
sign_tags = false
tag_name = "v{new_version}"
tag_message = "release(version-bump): {current_version} → {new_version}"
allow_dirty = false
commit = false
message = "release(version-bump): {current_version} → {new_version}"
commit_args = ""
setup_hooks = []
pre_commit_hooks = []
post_commit_hooks = []