New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminal output #39
Terminal output #39
Commits on Nov 20, 2019
-
Introduce a new Terminal class
The Terminal class will improve the formatting. It allows for indentation and displaying the status at the right end of the current terminal line.
Configuration menu - View commit details
-
Copy full SHA for d9eb7ec - Browse repository at this point
Copy the full SHA d9eb7ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb554ad - Browse repository at this point
Copy the full SHA fb554adView commit details -
Add tests for the Terminal class
Mocking Terminal from blessings was very difficult because properties are added during runtime like the color methods. Therefore auto mocking doesn't work.
Configuration menu - View commit details
-
Copy full SHA for 142b349 - Browse repository at this point
Copy the full SHA 142b349View commit details -
Update hook API for terminal output
Use the terminal class instead of the function in the hooks API.
Configuration menu - View commit details
-
Copy full SHA for 7428866 - Browse repository at this point
Copy the full SHA 7428866View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4b1fc8 - Browse repository at this point
Copy the full SHA e4b1fc8View commit details -
Use Terminal for output for stating pre commit hooks
Also improve the output by adding indentation.
Configuration menu - View commit details
-
Copy full SHA for ddd2717 - Browse repository at this point
Copy the full SHA ddd2717View commit details -
Remove unused terminal functions
The functionality is provided by the Terminal class now.
Configuration menu - View commit details
-
Copy full SHA for 4862b59 - Browse repository at this point
Copy the full SHA 4862b59View commit details -
Allow to set the terminal instance of the hooks API
The hooks plugins should use the current terminal instance for their output to use the actual indentation.
Configuration menu - View commit details
-
Copy full SHA for 16b6649 - Browse repository at this point
Copy the full SHA 16b6649View commit details -
Configuration menu - View commit details
-
Copy full SHA for d51cc8d - Browse repository at this point
Copy the full SHA d51cc8dView commit details -
Mock.assert_called() doesn't exist before Python 3.6.
Configuration menu - View commit details
-
Copy full SHA for 35cbf54 - Browse repository at this point
Copy the full SHA 35cbf54View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4c55a4 - Browse repository at this point
Copy the full SHA f4c55a4View commit details