summaryrefslogtreecommitdiffstats
path: root/setup.py
AgeCommit message (Collapse)Author
2016-12-03Commit dates are now proper datetime objectsJoris Roovers
Previously, commit date objects were just represented by the string returned by git. Now, commit.date is an actual python datetime object. This did require us to include the arrow package as a dependency as there are some issue with timezone-aware date parsing in python. Also added __eq__ methods for GitCommit and GitCommitMessage as that allows for easy comparison.
2016-12-02Dependency version bumpsJoris Roovers
Updated all dependencies to the latest version. This brings us to back to 2016 :-) The only dependency not getting an update is 'sh' because the 0.12.x release series seems to be very buggy (performance issues, regressions, etc). This commit does contain a guard for checking '_ok_code' during sh invocation as that was an issue with 1.12.x (submitted https://github.com/amoffat/sh/issues/343). Might as well patch it already if we ever do go to sh==1.12.x.
2016-08-04Fix for python 3 test failures + run_tests.sh improvementsJoris Roovers
- importlib is now only used for python 2.6 and not included for all builds. This fixes issues with python3. - run_tests.sh: --clean option: clean up the working directory (delete cache, dist, build, etc) - run_tests.sh: --install-virtualenvs and --remove-virtualenvs options to install/remove virtualenvs for other python versions. This code used to live in the Vagrantfile but has been moved to run_tests.sh so that it can be used more easily during development.
2016-08-04Initial support for user-defined rulesJoris Roovers
This is the initial commit adding support for user-defined rules. It's a rather large commit, but I decided to keep a few things out to still try to keep the size manageable. In particular, there will be follow-up commits adding more tests, documentation and validation checks as well as general cleanup. What is present in the current commit: - Support for the 'extra-path' parameter that specifies where to search for user-defined rules - A new user_rules.py module that implements the business logic for finding user-defined rule classes - Example user-defined rules in examples/my_commit_rules.py and examples/my_line_rules.py - A new DirectoryOption class for specifying directory paths as rule options - ./run_tests.sh now print py.test warnings
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.
2016-04-15Python 2.6 support (#10)Joe Grund
We have a project that uses Python 2.6 and would like to use this tool to verify our commit messages. This PR imports OrderedDict from the ordereddict package if the built-in from collections is not present. Signed-off-by: Joe Grund <grundjoseph@gmail.com>
2015-11-220.6.1 releasev0.6.1Joris Roovers
- Fix: install-hook and generate-config commands not working when gitlint is installed from pypi.
2015-11-220.6.0 releasev0.6.0Joris Roovers
- Bumped version number to 0.6.0 - Removed unsupported python versions from setup.py - setup.cfg file to support universal python 2 and 3 wheels Full Release details in CHANGELOG.md. Fix: removed unsupported python versions from setup.py
2015-11-22Doc updated prior to 0.6.0 release + Travis check for python 3.0-3.3Joris Roovers
- Updated documentation in CHANGELOG and setup.py - Added travis checks for python 3.0-3.3
2015-09-19Added missing comma to setup.pyJoris Roovers
A missing comma in setup.py was preventing upload to pypi.
2015-09-19Documentation updates prior to 0.4.0 releaseJoris Roovers
- Updated README and CHANGELOG to be in line with latest changes - Updated gitlint/cli.py and removed "experimental" from the --install-hook help description. - Modified some descriptions in setup.py so that they are nicer on pypi
2015-09-16GitContext now has a structured commit messageJoris Roovers
The GitContext class now has a structured commit message, meaning that it distinguishes between the commit message title, body, etc. By doing this, we can make the linter itself simpler and will be able to do more refactoring that will make rules more capable. Also: - Updated Click to version 5.1 in setup.py
2015-09-11Experimental support for git commit-msg hookJoris Roovers
Users can now install a git commit-msg hook using the --install-hook commandline flag. This is still experimental and missing some important features (uninstall, appending to existing hook, restoring incorrect commit message).
2015-09-08Version 0.1.1: Added 'sh==1.11' requirement to setup.pyv0.1.1Joris Roovers
2015-09-02Initial commitJoris Roovers
- setup.py - travis integration - README - Vagrantfile - run_tests.sh - gitignore - requirements.txt