Mercurial > hgrepos > Python > libs > ConfigMix
changeset 208:bbe8513ea649
Handle flake8 E265 "block comment should start with '# ': use '# :-' instead of '#-' to mark copyright and license comments
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 05 May 2019 18:40:03 +0200 |
| parents | b3b5ed34d180 |
| children | c8d071581a4c |
| files | configmix/compat.py configmix/config.py configmix/ini.py configmix/json.py configmix/py.py configmix/toml.py configmix/variables.py configmix/yaml.py |
| diffstat | 8 files changed, 16 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/configmix/compat.py Sun May 05 18:29:47 2019 +0200 +++ b/configmix/compat.py Sun May 05 18:40:03 2019 +0200 @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- -#- +# :- # :Copyright: (c) 2015-2019, Franz Glasner. All rights reserved. # :License: 3-clause BSD. See LICENSE.txt for details. -#- +# :- """Some minimal compatibility shim between Python2 and Python3 """
--- a/configmix/config.py Sun May 05 18:29:47 2019 +0200 +++ b/configmix/config.py Sun May 05 18:40:03 2019 +0200 @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- -#- +# :- # :Copyright: (c) 2015-2019, Franz Glasner. All rights reserved. # :License: 3-clause BSD. See LICENSE.txt for details. -#- +# :- """The unified configuration dictionary with attribute support or variable substitution.
--- a/configmix/ini.py Sun May 05 18:29:47 2019 +0200 +++ b/configmix/ini.py Sun May 05 18:40:03 2019 +0200 @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- -#- +# :- # :Copyright: (c) 2015-2019, Franz Glasner. All rights reserved. # :License: 3-clause BSD. See LICENSE.txt for details. -#- +# :- """Read INI-style configuration files. """
--- a/configmix/json.py Sun May 05 18:29:47 2019 +0200 +++ b/configmix/json.py Sun May 05 18:40:03 2019 +0200 @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- -#- +# :- # :Copyright: (c) 2018-2019, Franz Glasner. All rights reserved. # :License: 3-clause BSD. See LICENSE.txt for details. -#- +# :- """Read JSON-style configuration files. """
--- a/configmix/py.py Sun May 05 18:29:47 2019 +0200 +++ b/configmix/py.py Sun May 05 18:40:03 2019 +0200 @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- -#- +# :- # :Copyright: (c) 2015-2019, Franz Glasner. All rights reserved. # :License: 3-clause BSD. See LICENSE.txt for details. -#- +# :- """Read configuration settings from Python files. """
--- a/configmix/toml.py Sun May 05 18:29:47 2019 +0200 +++ b/configmix/toml.py Sun May 05 18:40:03 2019 +0200 @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- -#- +# :- # :Copyright: (c) 2015-2019, Franz Glasner. All rights reserved. # :License: 3-clause BSD. See LICENSE.txt for details. -#- +# :- """Read TOML style configuration files. """
--- a/configmix/variables.py Sun May 05 18:29:47 2019 +0200 +++ b/configmix/variables.py Sun May 05 18:40:03 2019 +0200 @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- -#- +# :- # :Copyright: (c) 2015-2019, Franz Glasner. All rights reserved. # :License: 3-clause BSD. See LICENSE.txt for details. -#- +# :- """Variable interpolation: implementation of namespaces and filters """
--- a/configmix/yaml.py Sun May 05 18:29:47 2019 +0200 +++ b/configmix/yaml.py Sun May 05 18:40:03 2019 +0200 @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- -#- +# :- # :Copyright: (c) 2015-2019, Franz Glasner. All rights reserved. # :License: 3-clause BSD. See LICENSE.txt for details. -#- +# :- """Simple wrapper for :mod:`yaml` to support all-unicode strings when loading configuration files.
