Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/134322

Change subject: Lint: remove unused imports
......................................................................

Lint: remove unused imports

Fix flake8 error: F401 X imported but unused

Change-Id: I8e7cc17d10b80af9b54c11b98351f14028ceaaff
---
M make_country_counts_cidr.py
M make_dashabords.py
M misc/pig_reports.py
3 files changed, 0 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/wp-zero 
refs/changes/22/134322/1

diff --git a/make_country_counts_cidr.py b/make_country_counts_cidr.py
index 0b2abc9..0641f6e 100755
--- a/make_country_counts_cidr.py
+++ b/make_country_counts_cidr.py
@@ -1,9 +1,6 @@
 #!/usr/bin/env python
-import sys
-import csv
 import logging
 import pprint
-from operator import itemgetter
 
 from squid.mapreduce import count_files, write_counts
 from squid import SquidArgumentParser
diff --git a/make_dashabords.py b/make_dashabords.py
index bee6f3b..4e62b6d 100755
--- a/make_dashabords.py
+++ b/make_dashabords.py
@@ -24,14 +24,11 @@
 import re
 import numpy as np
 import pandas as pd
-import time
 import unidecode
 import calendar
 import copy
 import dateutil
 import urllib
-import json
-from apiclient.discovery import HttpError
 
 #import gcat
 import wikipandas
diff --git a/misc/pig_reports.py b/misc/pig_reports.py
index 6144658..bf46492 100644
--- a/misc/pig_reports.py
+++ b/misc/pig_reports.py
@@ -1,10 +1,7 @@
-import argparse
 import pandas as pd
 import logging
 import pprint
-from operator import itemgetter
 
-from squid.mapreduce import count_files
 from squid import SquidArgumentParser
 
 # this change made from local machine

-- 
To view, visit https://gerrit.wikimedia.org/r/134322
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8e7cc17d10b80af9b54c11b98351f14028ceaaff
Gerrit-PatchSet: 1
Gerrit-Project: analytics/wp-zero
Gerrit-Branch: master
Gerrit-Owner: Hashar <has...@free.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to