See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| [style] | |
| based_on_style = "google" | |
| column_limit = 120 | |
| indent_width = 2 | |
| continuation_indent_width = 2 | |
| split_before_closing_bracket = true | |
| split_before_first_argument = true | |
| dedent_closing_brackets = true | |
| coalesce_brackets = true |
| #ifndef UTILS_UNITTEST_H_ | |
| #define UTILS_UNITTEST_H_ | |
| #include <stdio.h> | |
| #if defined(linux) || defined(__linux__) | |
| #include <linux/unistd.h> | |
| #elif defined(unix) || defined(__unix__) || defined(__APPLE__) | |
| #include <unistd.h> | |
| #else | |
| #error "Unsupported platform. This header can only be used on linux-like OS." | |
| #endif |
| from abc import ABC, abstractmethod | |
| class Proposition(ABC): | |
| def __and__(self, other): | |
| return CompositeProposition('and', self, other) | |
| def __or__(self, other): | |
| return CompositeProposition('or', self, other) |