tox-fast8 support which will run pep8 only on updated(delta) code
Bug #1829455 reported by
Vishakha Agarwal
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Wishlist
|
Vishakha Agarwal |
Bug Description
tox-fast8 support which will run prp8 only on updated contents(only on git diff)
Changed in keystone: | |
importance: | Undecided → Wishlist |
status: | New → In Progress |
Changed in keystone: | |
assignee: | nobody → Vishakha Agarwal (vishakha.agarwal) |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/659225 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=e054b368dcf 147a3dd4e2a746e e9c5c9401718c9
Committed: https:/
Submitter: Zuul
Branch: master
commit e054b368dcf147a 3dd4e2a746ee9c5 c9401718c9
Author: Vishakha Agarwal <email address hidden>
Date: Wed May 15 12:42:42 2019 +0530
Pep8 environment to run on delta code only
Currently tox -epep8 will run flake8 on whole code.
To make this fast, flake8 support is added for only
updated(delta) code. Same can be run by "tox -efast8".
It also determines how many commits to check based on the NUM_COMMITS env variable. If set to "smart",
$FAST8_
it uses git to try to run against all unsubmitted commits.
This allows fast8 to be more useful when actively
developing a series of patches.
Closes-Bug: #1829455 27abf14bc6f7cb8 5815591c0d3
Change-Id: Ic02d7a91c6f6b2