[GRASS-dev] Use # %, not #% in Python scripts
wenzeslaus at gmail.com
Thu Feb 18 19:08:32 PST 2021
On Thu, Feb 18, 2021 at 4:11 PM Markus Neteler <neteler at osgeo.org> wrote:
> On Fri, Feb 5, 2021 at 5:14 AM Vaclav Petras <wenzeslaus at gmail.com> wrote:
> > The vision is that users and contributors can write scripts which just
> work with more or less default Flake8 settings. This is a big step towards
> that because it removes tens of warnings for a standard module.
> Do you plan to apply the same to the grass7/ addons?
> This would be great for consistency.
Yes, it would. Putting it to grass7/ would, however, require backport
because that's what v7.8 is using. After we separate addons for v8, sure.
The '# %' does not look like something for backport, maybe after it really
matures, but that means time.
> > Vaclav
> >  https://github.com/OSGeo/grass/pull/1287
> >  https://www.python.org/dev/peps/pep-0008/#block-comments
> > _______________________________________________
> > grass-dev mailing list
> > grass-dev at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/grass-dev
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-dev