# HG changeset patch # User Franz Glasner # Date 1557074403 -7200 # Node ID bbe8513ea649b33f1838406ae899362c8780a42d # Parent b3b5ed34d180274dc9e6a25ddd7e45772858c883 Handle flake8 E265 "block comment should start with '# ': use '# :-' instead of '#-' to mark copyright and license comments diff -r b3b5ed34d180 -r bbe8513ea649 configmix/compat.py --- 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 """ diff -r b3b5ed34d180 -r bbe8513ea649 configmix/config.py --- 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. diff -r b3b5ed34d180 -r bbe8513ea649 configmix/ini.py --- 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. """ diff -r b3b5ed34d180 -r bbe8513ea649 configmix/json.py --- 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. """ diff -r b3b5ed34d180 -r bbe8513ea649 configmix/py.py --- 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. """ diff -r b3b5ed34d180 -r bbe8513ea649 configmix/toml.py --- 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. """ diff -r b3b5ed34d180 -r bbe8513ea649 configmix/variables.py --- 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 """ diff -r b3b5ed34d180 -r bbe8513ea649 configmix/yaml.py --- 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.