{"push_id":806751469,"size":5,"distinct_size":5,"ref":"refs/heads/port-lint-sh-to-python","head":"57306b9422b3f318053ad6aa5106728be31d1527","before":"6a9942237bd2ecfc36fa2455f4d7ba4a7b34479c","commits":[{"sha":"0ed4084ede083f32dc022e99843929c4fd5f0ba5","author":{"email":"3ba3974e96044dcde818e6310ed799abe10671d4@endlessm.com","name":"Philip Chimento"},"message":"Move \"check\" functionality to main script\n\nThis moves the functionality of checking for the external linter\nexecutables from the lint.sh script into Python code. It simplifies the\ncode quite a bit and is part of the effort not to have code in two\nlanguages (Python and shell.)\n\nWe don't need to check for the existence of the lint.sh script or the\nauxiliary files, because due to pkg_resources and setup.py they are now\nguaranteed to be included in the Python package.\n\nThe use of shutil.which() requires Python 3.3.","distinct":true,"url":"https://api.github.com/repos/endlessm/difflint/commits/0ed4084ede083f32dc022e99843929c4fd5f0ba5"},{"sha":"ae623e208404b11346d177de70f94e0fd550da08","author":{"email":"3ba3974e96044dcde818e6310ed799abe10671d4@endlessm.com","name":"Philip Chimento"},"message":"Remove lint.sh script altogether\n\nThis ports the lint.sh script to Python code, which is more portable in\nthe context of our Python package since it doesn't rely on sh as an\nexternal dependency.\n\nMoves the LintOutput object to lint.py and adds a run_command() method\nthat simplifies checking the output and exit code of the external linting\ntool.","distinct":true,"url":"https://api.github.com/repos/endlessm/difflint/commits/ae623e208404b11346d177de70f94e0fd550da08"},{"sha":"c4836c06a56e2b6148e344ee7f1d663c58e431d1","author":{"email":"3ba3974e96044dcde818e6310ed799abe10671d4@endlessm.com","name":"Philip Chimento"},"message":"Consistently use an exit code\n\nMake sure that an integer exit code is always returned. For the error\nexit code for missing files, we would like to use os.EX_OSFILE, but that\nis not available on all platforms, so we just use its numerical value.\n(On other platforms that value should be meaningless, so that's OK.)","distinct":true,"url":"https://api.github.com/repos/endlessm/difflint/commits/c4836c06a56e2b6148e344ee7f1d663c58e431d1"},{"sha":"99c189aa7d7e359e014dd0cdcaeb9bf1c3703afa","author":{"email":"3ba3974e96044dcde818e6310ed799abe10671d4@endlessm.com","name":"Philip Chimento"},"message":"Fix indentation in setup.py\n\nPer PEP8, the arguments to setup() should be visually indented.","distinct":true,"url":"https://api.github.com/repos/endlessm/difflint/commits/99c189aa7d7e359e014dd0cdcaeb9bf1c3703afa"},{"sha":"57306b9422b3f318053ad6aa5106728be31d1527","author":{"email":"3ba3974e96044dcde818e6310ed799abe10671d4@endlessm.com","name":"Philip Chimento"},"message":"Consistent use of quotes\n\nChange all quotes in code to single quotes, and change the docstring\nquotes to double quotes as per PEP 257. Also change the formatting of\nsome docstrings to match PEP 257.","distinct":true,"url":"https://api.github.com/repos/endlessm/difflint/commits/57306b9422b3f318053ad6aa5106728be31d1527"}]}