diff --git a/.flake8 b/.flake8 index fbfcb5c5e81..9b7b260fa43 100644 --- a/.flake8 +++ b/.flake8 @@ -6,7 +6,6 @@ # For more info visit https://github.com/pulp/plugin_template [flake8] exclude = ./docs/*,*/migrations/*,./pulpcore/app/protobuf/* - per-file-ignores = */__init__.py: F401 ignore = E203,W503,Q000,Q003,D100,D104,D106,D200,D205,D400,D401,D402 diff --git a/.github/workflows/scripts/release.py b/.github/workflows/scripts/release.py index 553a675278c..f8dec7d31f8 100755 --- a/.github/workflows/scripts/release.py +++ b/.github/workflows/scripts/release.py @@ -48,7 +48,7 @@ def create_release_commits(repo, release_version, plugin_path): issues = ",".join(issues_to_close) # First commit: changelog - os.system(f"towncrier --yes --version {release_version}") + os.system(f"towncrier build --yes --version {release_version}") git = repo.git git.add("CHANGES.rst") git.add("CHANGES/*") diff --git a/.github/workflows/scripts/script.sh b/.github/workflows/scripts/script.sh index da1bd0f5a4b..432f2e43121 100755 --- a/.github/workflows/scripts/script.sh +++ b/.github/workflows/scripts/script.sh @@ -29,7 +29,7 @@ export PULP_URL="https://pulp" if [[ "$TEST" = "docs" ]]; then if [[ "$GITHUB_WORKFLOW" == "Core CI" ]]; then - towncrier --yes --version 4.0.0.ci + towncrier build --yes --version 4.0.0.ci fi cd docs make PULP_URL="$PULP_URL" diagrams html