mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Get rid of the tools/automation folder
It was an unnecessary level added to the folder hierarchy.
This commit is contained in:
parent
1720aee672
commit
147b914782
9 changed files with 5 additions and 5 deletions
2
.gitattributes
vendored
2
.gitattributes
vendored
|
@ -1,4 +1,4 @@
|
|||
# Patches must have Unix-style line endings, even on Windows
|
||||
tools/automation/vendoring/patches/* eol=lf
|
||||
tools/vendoring/patches/* eol=lf
|
||||
# The CA Bundle should always use Unix-style line endings, even on Windows
|
||||
src/pip/_vendor/certifi/*.pem eol=lf
|
||||
|
|
|
@ -12,7 +12,7 @@ import nox
|
|||
|
||||
# fmt: off
|
||||
sys.path.append(".")
|
||||
from tools.automation import release # isort:skip # noqa
|
||||
from tools import release # isort:skip # noqa
|
||||
sys.path.pop()
|
||||
# fmt: on
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ filename = "NEWS.rst"
|
|||
directory = "news/"
|
||||
title_format = "{version} ({project_date})"
|
||||
issue_format = "`#{issue} <https://github.com/pypa/pip/issues/{issue}>`_"
|
||||
template = "tools/automation/news/template.rst"
|
||||
template = "tools/news/template.rst"
|
||||
type = [
|
||||
{ name = "Process", directory = "process", showcontent = true },
|
||||
{ name = "Deprecations and Removals", directory = "removal", showcontent = true },
|
||||
|
@ -26,7 +26,7 @@ requirements = "src/pip/_vendor/vendor.txt"
|
|||
namespace = "pip._vendor"
|
||||
|
||||
protected-files = ["__init__.py", "README.rst", "vendor.txt"]
|
||||
patches-dir = "tools/automation/vendoring/patches"
|
||||
patches-dir = "tools/vendoring/patches"
|
||||
|
||||
[tool.vendoring.transformations]
|
||||
substitute = [
|
||||
|
|
|
@ -28,7 +28,7 @@ def get_version_from_arguments(session: Session) -> Optional[str]:
|
|||
cmd = [
|
||||
# https://github.com/theacodes/nox/pull/378
|
||||
os.path.join(session.bin, "python"), # type: ignore
|
||||
"tools/automation/release/check_version.py",
|
||||
"tools/release/check_version.py",
|
||||
version
|
||||
]
|
||||
not_ok = subprocess.run(cmd).returncode
|
Loading…
Reference in a new issue