diff --git a/patacrep/authors.py b/patacrep/authors.py index 8a25c92b..3bdb6b9a 100644 --- a/patacrep/authors.py +++ b/patacrep/authors.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """Authors string management.""" import logging diff --git a/patacrep/build.py b/patacrep/build.py index 1bc683a4..a93a3bfa 100644 --- a/patacrep/build.py +++ b/patacrep/build.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """Build a songbook, according to parameters found in a .sb file.""" import codecs diff --git a/patacrep/content/__init__.py b/patacrep/content/__init__.py index 5214a55b..07441c85 100755 --- a/patacrep/content/__init__.py +++ b/patacrep/content/__init__.py @@ -1,6 +1,3 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- - """Content plugin management. Content that can be included in a songbook is controlled by plugins. From the diff --git a/patacrep/content/cwd.py b/patacrep/content/cwd.py index 5e55d68d..67468761 100755 --- a/patacrep/content/cwd.py +++ b/patacrep/content/cwd.py @@ -1,6 +1,3 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- - """Change base directory before importing songs.""" from patacrep.content import process_content diff --git a/patacrep/content/include.py b/patacrep/content/include.py index 03492544..43c79b95 100644 --- a/patacrep/content/include.py +++ b/patacrep/content/include.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """Include an external list of songs This plugin provides keyword 'include', used to include an external list of diff --git a/patacrep/content/section.py b/patacrep/content/section.py index 96215f68..9bca685d 100755 --- a/patacrep/content/section.py +++ b/patacrep/content/section.py @@ -1,6 +1,3 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- - """Allow LaTeX sections (starred or not) as content of a songbook.""" from patacrep.content import Content, ContentError diff --git a/patacrep/content/song.py b/patacrep/content/song.py index 50cb7349..252c5dc8 100755 --- a/patacrep/content/song.py +++ b/patacrep/content/song.py @@ -1,6 +1,3 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- - """Plugin to include songs to the songbook.""" import glob diff --git a/patacrep/content/songsection.py b/patacrep/content/songsection.py index 07153591..a51c503c 100755 --- a/patacrep/content/songsection.py +++ b/patacrep/content/songsection.py @@ -1,6 +1,3 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- - """Allow 'songchapter' and 'songsection' as content of a songbook.""" from patacrep.content import Content, ContentError diff --git a/patacrep/content/sorted.py b/patacrep/content/sorted.py index f95065d6..57fa4f8d 100755 --- a/patacrep/content/sorted.py +++ b/patacrep/content/sorted.py @@ -1,6 +1,3 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- - """Sorted list of songs. This plugin provides keyword 'sorted', used to include a sorted list of songs diff --git a/patacrep/content/tex.py b/patacrep/content/tex.py index 38593f38..9a8227d3 100755 --- a/patacrep/content/tex.py +++ b/patacrep/content/tex.py @@ -1,6 +1,3 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- - """Include LaTeX raw code in the songbook.""" import logging diff --git a/patacrep/encoding.py b/patacrep/encoding.py index a0501e4d..bd36b560 100644 --- a/patacrep/encoding.py +++ b/patacrep/encoding.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """Dealing with encoding problems.""" import codecs diff --git a/patacrep/errors.py b/patacrep/errors.py index a065c322..f6e4121a 100644 --- a/patacrep/errors.py +++ b/patacrep/errors.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """Songbook exceptions and errors.""" class SongbookError(Exception): diff --git a/patacrep/files.py b/patacrep/files.py index 5c84e0b0..23ca0920 100644 --- a/patacrep/files.py +++ b/patacrep/files.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """File system utilities.""" from contextlib import contextmanager diff --git a/patacrep/index.py b/patacrep/index.py index 351e155e..6a4300a2 100644 --- a/patacrep/index.py +++ b/patacrep/index.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """Manage indexes. Generate indexes files for the songbook compilation. This is a replacement for diff --git a/patacrep/latex/__init__.py b/patacrep/latex/__init__.py index 8d0efed9..140fa51e 100644 --- a/patacrep/latex/__init__.py +++ b/patacrep/latex/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """Very simple LaTeX parser This module uses an LALR parser to try to parse LaTeX code. LaTeX language diff --git a/patacrep/latex/ast.py b/patacrep/latex/ast.py index f8112525..798d4c33 100644 --- a/patacrep/latex/ast.py +++ b/patacrep/latex/ast.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Abstract Syntax Tree for LaTeX code.""" # pylint: disable=too-few-public-methods diff --git a/patacrep/latex/detex.py b/patacrep/latex/detex.py index d99c3467..ebfd721b 100644 --- a/patacrep/latex/detex.py +++ b/patacrep/latex/detex.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Render `very simple` TeX commands in a simple TeX code.""" import logging diff --git a/patacrep/latex/lexer.py b/patacrep/latex/lexer.py index c90303da..8954e14c 100644 --- a/patacrep/latex/lexer.py +++ b/patacrep/latex/lexer.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Very simple LaTeX lexer.""" import logging diff --git a/patacrep/songbook.py b/patacrep/songbook.py index 8417be91..45a32560 100755 --- a/patacrep/songbook.py +++ b/patacrep/songbook.py @@ -1,6 +1,3 @@ -#! /usr/bin/env python3 -# -*- coding: utf-8 -*- - """Command line tool to compile songbooks using the songbook library.""" import argparse diff --git a/patacrep/songs/__init__.py b/patacrep/songs/__init__.py index 0a1072f9..df5514bb 100644 --- a/patacrep/songs/__init__.py +++ b/patacrep/songs/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """Song management.""" import errno diff --git a/patacrep/songs/tex.py b/patacrep/songs/tex.py index c2a51d62..a8408aaf 100644 --- a/patacrep/songs/tex.py +++ b/patacrep/songs/tex.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """Very simple LaTeX parsing.""" import os diff --git a/patacrep/templates.py b/patacrep/templates.py index be507a27..ed48529f 100644 --- a/patacrep/templates.py +++ b/patacrep/templates.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Template for .tex generation settings and utilities""" from jinja2 import Environment, FileSystemLoader, ChoiceLoader, \