summaryrefslogtreecommitdiff
path: root/bin/style-check
blob: ead4d5539c737c6d1314f1b9ddc9f6af3ee0347e (plain)
1
2
3
4
5
6
#!/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.

flake8 --count --max-complexity=10 --max-line-length=150 --statistics --exclude=pyembroidery,__init__.py,electron,build,src,dist "${@:-.}"