Skip to content
Permalink
Browse files

Merge pull request #2749 from getnikola/make-codacy-happy

Make codacy happy
  • Loading branch information...
ralsina committed May 8, 2017
2 parents 0acf929 + 4e31ccb commit bb6d8f607c6c1065d450d0bd8c6ab04cdf2b53be
Showing with 105 additions and 2 deletions.
  1. +2 −0 nikola/data/themes/base/messages/messages_ar.py
  2. +2 −0 nikola/data/themes/base/messages/messages_az.py
  3. +2 −0 nikola/data/themes/base/messages/messages_bg.py
  4. +2 −0 nikola/data/themes/base/messages/messages_bs.py
  5. +2 −0 nikola/data/themes/base/messages/messages_ca.py
  6. +2 −0 nikola/data/themes/base/messages/messages_cs.py
  7. +2 −0 nikola/data/themes/base/messages/messages_da.py
  8. +2 −0 nikola/data/themes/base/messages/messages_de.py
  9. +2 −0 nikola/data/themes/base/messages/messages_el.py
  10. +2 −0 nikola/data/themes/base/messages/messages_en.py
  11. +2 −0 nikola/data/themes/base/messages/messages_eo.py
  12. +2 −0 nikola/data/themes/base/messages/messages_es.py
  13. +2 −0 nikola/data/themes/base/messages/messages_et.py
  14. +2 −0 nikola/data/themes/base/messages/messages_eu.py
  15. +2 −0 nikola/data/themes/base/messages/messages_fa.py
  16. +2 −0 nikola/data/themes/base/messages/messages_fi.py
  17. +2 −0 nikola/data/themes/base/messages/messages_fil.py
  18. +2 −0 nikola/data/themes/base/messages/messages_fr.py
  19. +2 −0 nikola/data/themes/base/messages/messages_gl.py
  20. +2 −0 nikola/data/themes/base/messages/messages_he.py
  21. +2 −0 nikola/data/themes/base/messages/messages_hi.py
  22. +2 −0 nikola/data/themes/base/messages/messages_hr.py
  23. +2 −0 nikola/data/themes/base/messages/messages_hu.py
  24. +2 −0 nikola/data/themes/base/messages/messages_id.py
  25. +2 −0 nikola/data/themes/base/messages/messages_it.py
  26. +2 −0 nikola/data/themes/base/messages/messages_ja.py
  27. +2 −0 nikola/data/themes/base/messages/messages_ko.py
  28. +2 −0 nikola/data/themes/base/messages/messages_lt.py
  29. +2 −0 nikola/data/themes/base/messages/messages_nb.py
  30. +2 −0 nikola/data/themes/base/messages/messages_nl.py
  31. +2 −0 nikola/data/themes/base/messages/messages_pa.py
  32. +2 −0 nikola/data/themes/base/messages/messages_pl.py
  33. +2 −0 nikola/data/themes/base/messages/messages_pt.py
  34. +2 −0 nikola/data/themes/base/messages/messages_pt_br.py
  35. +2 −0 nikola/data/themes/base/messages/messages_ru.py
  36. +2 −0 nikola/data/themes/base/messages/messages_si_lk.py
  37. +2 −0 nikola/data/themes/base/messages/messages_sk.py
  38. +2 −0 nikola/data/themes/base/messages/messages_sl.py
  39. +2 −0 nikola/data/themes/base/messages/messages_sq.py
  40. +2 −0 nikola/data/themes/base/messages/messages_sr.py
  41. +2 −0 nikola/data/themes/base/messages/messages_sr_latin.py
  42. +2 −0 nikola/data/themes/base/messages/messages_sv.py
  43. +2 −0 nikola/data/themes/base/messages/messages_te.py
  44. +2 −0 nikola/data/themes/base/messages/messages_tl.py
  45. +2 −0 nikola/data/themes/base/messages/messages_tr.py
  46. +2 −0 nikola/data/themes/base/messages/messages_uk.py
  47. +2 −0 nikola/data/themes/base/messages/messages_ur.py
  48. +2 −0 nikola/data/themes/base/messages/messages_zh_cn.py
  49. +2 −0 nikola/data/themes/base/messages/messages_zh_tw.py
  50. +1 −1 nikola/plugins/task/listings.py
  51. +1 −1 scripts/generate_conf.py
  52. +2 −0 scripts/import_po.py
  53. +2 −0 scripts/jinjify.py
  54. +1 −0 scripts/langmatrix.py
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -1,4 +1,6 @@
# -*- encoding:utf-8 -*-
"""Autogenerated file, do not edit."""

from __future__ import unicode_literals

MESSAGES = {
@@ -93,7 +93,7 @@ def set_site(self, site):
self.proper_input_file_mapping = {}

for input_folder, output_folder in self.kw['listings_folders'].items():
for root, dirs, files in os.walk(input_folder, followlinks=True):
for root, _, files in os.walk(input_folder, followlinks=True):
# Compute relative path; can't use os.path.relpath() here as it returns "." instead of ""
rel_path = root[len(input_folder):]
if rel_path[:1] == os.sep:
@@ -1,5 +1,5 @@
#!/usr/bin/env python
# Generate a conf.py file from the template, using default settings.
"""Generate a conf.py file from the template, using default settings."""

import nikola.plugins.command.init

@@ -23,6 +23,8 @@
'messages', 'messages_{0}.py'.format(lang))
po = polib.pofile(fname)
lines = """# -*- encoding:utf-8 -*-
\"\"\"Autogenerated file, do not edit.\"\"\"

from __future__ import unicode_literals

MESSAGES = {""".splitlines()
@@ -1,4 +1,6 @@
#!/usr/bin/env python
"""Script to convert templates from Mako to Jinja2."""

import io
import glob
import sys
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
"""A matrix! Of languages!"""
import nikola.nikola
import os.path
import glob

0 comments on commit bb6d8f6

Please sign in to comment.
You can’t perform that action at this time.