Skip to content

Commit

Permalink
Fix oppia#6100 : Added verbose and non verbose mode in the pre submit…
Browse files Browse the repository at this point in the history
… check (oppia#6146)

* First

* First

* Second

* Third

* Fourth

* Added Mode

* Added verbose and non verbose mode

* Default non verbose mode

* Changed the arg mode to flag

* Changed the arg mode to flag

* Added -v flag

* removed print statement

* Update pre_commit_linter.py

* Update pre_commit_linter.py

* Changes done-global added

* Fixed changes

* Changes done

Added space after #

* Removed spaces

* Added class

* Added the LintsCheckManager

* Added functions as methods

* Moved to class

* Completed and Fixed Linting issues

* Added comments

* Changes Done

* Bool var name changed and few changes done

* Changes Done

* Changes Done

* changes done

* Made the changes

* Changes Done

* Changes Done

* Done the changes

* Removed

* Added verbose flag to make Travis build unstale

* Added 4 spaces

* Added filenames

* Added filepath

* added filepath
  • Loading branch information
anubhavsinha98 authored and seanlip committed Mar 11, 2019
1 parent 96df2ca commit a2d3d2c
Show file tree
Hide file tree
Showing 2 changed files with 1,288 additions and 1,216 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ install:
- bash scripts/install_third_party.sh

script:
- if [ "$RUN_LINT" == 'true' ]; then python scripts/third_party_size_check.py; python scripts/pre_commit_linter.py --path=.; fi
- if [ "$RUN_LINT" == 'true' ]; then python scripts/third_party_size_check.py; python scripts/pre_commit_linter.py --path=. --verbose; fi
# These lines are commented out because these checks are being run on CircleCI
# here: https://circleci.com/gh/oppia/oppia
# Travis aborts test run if nothing is printed back to STDOUT for some time.
Expand Down
Loading

0 comments on commit a2d3d2c

Please sign in to comment.