File: lint.sh

package info (click to toggle)
django-graphiql-debug-toolbar 0.2.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 248 kB
  • sloc: python: 155; javascript: 30; sh: 15; makefile: 11
file content (10 lines) | stat: -rwxr-xr-x 170 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash

export SOURCE_FILES="graphiql_debug_toolbar tests"

set -e
set -x

flake8 $SOURCE_FILES
black --check $SOURCE_FILES
isort --check-only $SOURCE_FILES