See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| import os | |
| from PIL import Image | |
| def set_watermark(photo, watermark): | |
| photo_size = photo.size | |
| watermark_size = watermark.size | |
| print(watermark_size) | |
| location = (0, int(photo_size[1]/1.3)) | |
| b = int(photo_size[1] / 10) |
| class Human: | |
| age = 0 | |
| name = ''; | |
| def __init__(self, name, age): | |
| self.name = name | |
| self.age = age | |
| def setAge(self, age): | |
| self.age = age |
| package; | |
| import android.app.Activity; | |
| import android.content.Context; | |
| import android.location.Location; | |
| import android.location.LocationListener; | |
| import android.location.LocationManager; | |
| import android.os.Bundle; | |
| import android.support.v4.app.Fragment; | |
| import android.util.Log; |
| from django.forms.util import ErrorList | |
| from django import forms | |
| class ContractUpdateView(UpdateView): | |
| model = Contract | |
| template_name = 'contract/contract_form.html' | |
| form_class = ContractForm | |
| def form_valid(self, form): | |
| if self.request.POST.get('finish'): |