Add help to auto fix linter
This commit is contained in:
parent
aba697bfb2
commit
39c69aac5f
2 changed files with 9 additions and 1 deletions
8
scripts/fix.sh
Executable file
8
scripts/fix.sh
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
export PATH=env/bin:${PATH}
|
||||||
|
|
||||||
|
black tests ipc_unix setup.py
|
||||||
|
isort -rc ipc_unix tests setup.py
|
|
@ -4,7 +4,7 @@ set -e
|
||||||
|
|
||||||
export PATH=env/bin:${PATH}
|
export PATH=env/bin:${PATH}
|
||||||
|
|
||||||
nose2 tests -C --coverage ipc_unix
|
nose2 $@ -C --coverage ipc_unix
|
||||||
|
|
||||||
black tests ipc_unix setup.py --check
|
black tests ipc_unix setup.py --check
|
||||||
flake8 ipc_unix tests setup.py --ignore=E128,E501
|
flake8 ipc_unix tests setup.py --ignore=E128,E501
|
||||||
|
|
Reference in a new issue