The ns-3 Network Simulator Project

Make the check-style.py runnable from any sub-directory of ns-3 source tree

The check-style.py script tests and reformats the code according to the ns-3 coding style. It has different options to control the code format checks. For example --level allows the user to set the level of style conformance. Similarly, --check-hg and --check-hg-hook allow users to check the code style only on modified and newly added file. When we run check-style.py along with --check-hg or --check-hg-hook option from the directory other than the ns-3 root directory, it fails. The task is to tweak the check-style.py source code to make it runnable from all the sub-directories of ns-3. Update the check-style.py and submit the patch for evaluation.

Task tags

  • python
  • scripting

Students who completed this task

Parth Pratim, bartekche, sikfeng, Asanali, Victor Hu

Task type

  • code Code
  • done_all Quality Assurance
close

2018