bidict/upgrade-dev-dependencies.sh

27 lines
545 B
Bash
Raw Normal View History

#!/bin/bash
#
# Copyright 2009-2022 Joshua Bronson. All rights reserved.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
set -euxo pipefail
log() {
echo >&2 " *" "$@"
}
main() {
git checkout -b deps main
pre-commit autoupdate
pre-commit clean
cd requirements
pip-compile -U docs.in && pip-compile -U tests.in && pip-compile -U lint.in && pip-compile -U dev.in
cd -
}
main