mirror of
https://github.com/cheat/cheat.git
synced 2025-11-05 00:05:27 +01:00
Refactored (10)
- Added `ci/lint.sh`, which uses `flake8` to lint the relevant files - Made changes to appease the linter. - Bugfix in `cheat/configuration` (missing dependency)
This commit is contained in:
9
ci/lint.sh
Executable file
9
ci/lint.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Resolve the app root
|
||||
SCRIPT=`realpath $0`
|
||||
SCRIPTPATH=`dirname $SCRIPT`
|
||||
APPROOT=`realpath "$SCRIPTPATH/.."`
|
||||
|
||||
flake8 $APPROOT/bin/cheat
|
||||
flake8 $APPROOT/cheat/*.py
|
||||
Reference in New Issue
Block a user