summaryrefslogtreecommitdiffstats
path: root/.pylintrc
AgeCommit message (Collapse)Author
2016-12-27More unicode-related changesJoris Roovers
This commit adds more changes for proper unicode support: - Introduce of the utils module with the ustr function that is now used everywhere where we used str() before. ustr() is smart enough to convert handle unicode in both python 2 and 3. - Monkeypatch of unittest2.case.str to deal with lack of unicode support for assertRaisesRegex in unittest2 - handle_option_error decorator for gitlint.config to deal with configuration errors for general options more elegantly - flake8 errors are now printed in red color when running run_tests.sh - Multiple test cases have been updated so that they also test unicode compatibility: test_cli.py, test_config.py, test_config_builder.py Additional tests will be updated to include better unicode coverage in the follow-up commits.
2016-04-16Pylint complianceJoris Roovers
Gitlint now passes pylint validation. Currently only supported for python 2.7. We've added a .pylintrc to customize pylint's behavior for gitlint.