tools: add lint-py.sh
[babeltrace.git] / tools / lint-py.sh
CommitLineData
163cd4b1
SM
1#!/bin/bash
2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
5# Copyright (C) 2023 EfficiOS, Inc.
6
7exit_code=0
8
9set -x
10
11black --diff --check . || exit_code=1
12flake8 || exit_code=1
13isort . --diff --check || exit_code=1
14
15exit $exit_code
This page took 0.024399 seconds and 4 git commands to generate.