xenon icon indicating copy to clipboard operation
xenon copied to clipboard

Accept multiple files to check

Open freeseacher opened this issue 6 years ago • 5 comments

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

freeseacher avatar Dec 09 '17 22:12 freeseacher

up ?

freeseacher avatar Apr 19 '19 05:04 freeseacher

@freeseacher Sorry for the delay. Can you try the current master version?

rubik avatar May 17 '19 12:05 rubik

fail in same way as failed in tests

freeseacher avatar May 17 '19 19:05 freeseacher

:(

freeseacher avatar May 21 '19 06:05 freeseacher

@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.

rubik avatar Sep 16 '20 10:09 rubik