Debian Codegraph @

script/lint-check

raw
1 #!/bin/sh
2
3 # script/lint-check: Check linting without making changes.
4
5 set -e
6
7 cd "$(dirname "$0")/.."
8
9 echo "==> Checking linting..."
10
11 echo "==> Checking isort..."
12 uv run --dev isort awesomeversion tests benchmarks --check-only
13
14 echo "==> Checking black..."
15 uv run --dev black --check --fast awesomeversion tests benchmarks
16
17 echo "==> Checking mypy..."
18 uv run --dev mypy --strict awesomeversion tests benchmarks
19
20 echo "==> Checking pylint..."
21 uv run --dev pylint awesomeversion tests benchmarks
22
23 echo "==> Linting check completed!"