Skip to content

Commit cb33511

Browse files
ci: try to improve release docs (#1051)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 70666a2 commit cb33511

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

CHANGELOG.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
- Fix release pipeline generating ``CHANGELOG.rst`` entries with inconsistent heading levels, which broke ``sphinx -W``
1010
and pinned Read the Docs ``stable`` at 1.4.0 - by :user:`gaborbernat`. (:issue:`1031`)
1111
- Revert :pr:`1039` from build 1.4.3, no longer check direct_url (for now) - by :user:`henryiii` (:issue:`1039`)
12-
- Add ``--ignore-installed`` to pip install command to prevent issues with packages already present in the isolated build
13-
environment - by :user:`henryiii` (:issue:`1037`) (:issue:`1040`)
12+
- Add ``--ignore-installed`` to pip install command to prevent issues with packages already present in the isolated
13+
build environment - by :user:`henryiii` (:issue:`1037`) (:issue:`1040`)
1414
- Partial revert of :pr:`973`, keeping log messages in one entry, multiple lines. (:issue:`1044`)
1515

1616
***************

tasks/release.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def create_release_commit(repo: Repo, version: Version) -> Commit:
6666
print('build changelog from fragments with towncrier')
6767
check_call(['towncrier', 'build', '--yes', '--version', version.public], cwd=str(ROOT_SRC_DIR)) # noqa: S603
6868
call(['pre-commit', 'run', '--all-files'], cwd=str(ROOT_SRC_DIR))
69+
call(['pre-commit', 'run', '--all-files'], cwd=str(ROOT_SRC_DIR))
6970
repo.git.add('src/build/__init__.py', 'CHANGELOG.rst', 'docs/changelog/*')
7071
check_call(['pre-commit', 'run', '--all-files', '--show-diff-on-failure'], cwd=str(ROOT_SRC_DIR))
7172
if repo.is_dirty(index=False, working_tree=True, untracked_files=False):

tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ base_python = python3.14
6262
set_env =
6363
PYTHONUTF8 = 1
6464
commands =
65-
pre-commit run docstrfmt --all-files
6665
proselint check docs
6766
sphinx-build -W -n -b html docs {env:READTHEDOCS_OUTPUT:{envtmpdir}}/html
6867
python -c 'import os; print("Documentation available under file://" + os.environ.get("READTHEDOCS_OUTPUT", "{envtmpdir}") + "/html/index.html")'

0 commit comments

Comments
 (0)