summaryrefslogtreecommitdiff
path: root/kolla/hacking/checks.py
AgeCommit message (Collapse)AuthorFilesLines
2020-04-01Update hacking for Python3Andreas Jaeger1-7/+5
The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found by updated hacking version. Update local hacking checks for new flake8. Remove hacking and friends from lower-constraints, they are not needed in installations. Change-Id: I67e5ca24c550163c218fb06692de0b7c528d8318
2018-10-09Improve pep8 checking along with hackingconfi-surya1-0/+35
This change will help to check the function _() is used but not imported. And the gates will check this missing in the next time. Change-Id: Ic1dd25e99c3db9fc8782a5f0977679978e274191
2018-02-25Remove the extra parentheseswangqi1-1/+1
Change-Id: I185536189cc3943906b2e2cc7478bf6386377ea1
2016-11-24Add HACKING.rst and hacking test case.Jeremy Liu1-3/+3
Currently, we have hacking check in kolla, but no place where we can define hacking check rules. This patch adds HACKING.rst file for that. And also add test cases for hacking. Change-Id: I87f8768138d91bf6a5a1db91d37392f794f3f0ba
2016-09-05Ensure doesn't use LOG.warnNguyen Phuong An1-0/+14
This patchs ensure doesn't use LOG.warn because LOG.warn deprecated in Python 3 [1]. Using LOG.warning should be used instead. [1] https://docs.python.org/3/library/logging.html#logging.warning TrivialFix Change-Id: I464314b33b8d4f31b6be0a765019e1f5668cc6d9
2016-03-03Introduce the hacking module to kollaJeffrey Zhang1-0/+26
Implements: blueprint add-hacking Change-Id: Ia24a263555b9c1eb11e61b9d3fe89612a89daed6