From dfab5b9c9c4739fcf2b8244be99451c3faa945cf Mon Sep 17 00:00:00 2001 From: Phyks Date: Mon, 22 Jul 2013 21:01:19 +0200 Subject: [PATCH] Started to flake8 the script --- TODO | 7 +++++-- pre-commit.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 0c9a20b..73fe319 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,8 @@ Finish gen.py -> RSS -Recherche ? -Pages par années / mois +Search ? What happen when a file is moved with git ? Flake8 the whole thing ! :) + +Known bugs: +========== +* Articles in page by month and page by year are not sorted by date diff --git a/pre-commit.py b/pre-commit.py index 56029fc..c10e6ba 100755 --- a/pre-commit.py +++ b/pre-commit.py @@ -9,7 +9,7 @@ import datetime import subprocess def isset(variable): - return variable in locals() or variable in globals() + return variable in locals() or variable in globals() def list_directory(path): fichier=[]