From e7dc88690ef5b2d596e7c14e629b964779a2b485 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Fri, 10 Nov 2023 12:41:49 +0100 Subject: [PATCH] ENH: allow pinning constraints in no-python repo (#214) --- src/repoma/check_dev_files/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/repoma/check_dev_files/__init__.py b/src/repoma/check_dev_files/__init__.py index 94cb7033..66d6250f 100644 --- a/src/repoma/check_dev_files/__init__.py +++ b/src/repoma/check_dev_files/__init__.py @@ -65,11 +65,6 @@ def main(argv: Optional[Sequence[str]] = None) -> int: executor(black.main, has_notebooks) if not args.no_github_actions: executor(release_drafter.main, args.repo_name, args.repo_title) - if args.pin_requirements != "no": - executor( - update_pip_constraints.main, - cron_frequency=args.pin_requirements, - ) executor(mypy.main) executor(pyright.main) executor(pytest.main) @@ -77,6 +72,11 @@ def main(argv: Optional[Sequence[str]] = None) -> int: if not args.no_ruff: executor(ruff.main) executor(setup_cfg.main, args.ignore_author) + if args.pin_requirements != "no": + executor( + update_pip_constraints.main, + cron_frequency=args.pin_requirements, + ) executor(remove_deprecated_tools, args.keep_issue_templates) executor(vscode.main, has_notebooks) executor(gitpod.main, args.no_gitpod)