xenon
xenon copied to clipboard
Accept multiple files to check
hi! we are moving to resolv radon checks, but our code base pretty big so we accept to check have to be run only on merge requests and only changed on changed files. i would like to run xenon in that way
FLIST=$(git --no-pager diff --name-only $(git rev-parse --abbrev-ref HEAD) $(git merge-base origin/HEAD HEAD) |egrep -q ".py$" || true)
if [ ! -z $FLIST ]; then xenon --max-absolute B --max-modules B --max-average B $FLIST; fi
up ?
@freeseacher Sorry for the delay. Can you try the current master version?
fail in same way as failed in tests
:(
@freeseacher Sorry for the extremely late reply. In case you still need, can you check the latest master version? I fixed the issue and from my tests it's working correctly with multiple paths.