2022-04-29 02:37:34 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Checks Python coding style based on our project's preferences. Checks the
|
|
|
|
# files passed on the command-line or everything if no files are passed.
|
2022-04-29 02:53:19 +00:00
|
|
|
# Instead of files, "--diff" may be passed to check only the lines changed
|
|
|
|
# by a diff piped to standard input.
|
2022-04-29 02:37:34 +00:00
|
|
|
|
2024-05-01 17:34:25 +00:00
|
|
|
flake8 --count --max-complexity=10 --max-line-length=150 --statistics --exclude=pyembroidery,__init__.py,build,src,dist,./*-metadata.py,./pyembroidery-format-descriptions.py "${@:-.}"
|