Skip to content

Accept multiple files to check #21

Description

@freeseacher

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions