deb-sahara/sahara/utils/hacking
Javeme 3cb08bc52b Ensure default arguments are not mutable
* add hacking check: no_mutable_default_args()
* remove the mutable default arguments "[]" or "{}" when the function
  is defined.

ref: http://docs.python-guide.org/en/latest/writing/gotchas/

Closes-Bug: #1530282
Change-Id: Ice6f7654211b73d7f8bc3ca0e4dfae3dca354397
2015-12-31 15:56:11 +08:00
..
__init__.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00
checks.py Ensure default arguments are not mutable 2015-12-31 15:56:11 +08:00
commit_message.py Take back upstream checks for commit message 2015-03-10 21:30:39 +03:00
import_checks.py Take back upstream checks for import order 2015-03-13 15:28:01 +03:00
logging_checks.py Add hacking checks related to logging guideliness 2015-04-13 14:29:14 +03:00