When running Flake8 with E501 (line too long) error on, several triple-quoted strings are flagged as violating line length (currently set to 110 characters), the most prominent being parts of add-on settings config spec. Therefore to fix this issue and also to conform to NVDA Core's confspec organization (a dedicated confspec module exists to store NVDA settings), create a confspec module that will house add-on config spec. Flake8 will then be told to ignore confspec module.
This change is destined for 20.11 at the earliest (will not be backported to 20.09.x).
Hi,
Building on recent Flake8 lint work:
When running Flake8 with E501 (line too long) error on, several triple-quoted strings are flagged as violating line length (currently set to 110 characters), the most prominent being parts of add-on settings config spec. Therefore to fix this issue and also to conform to NVDA Core's confspec organization (a dedicated confspec module exists to store NVDA settings), create a confspec module that will house add-on config spec. Flake8 will then be told to ignore confspec module.
This change is destined for 20.11 at the earliest (will not be backported to 20.09.x).
Thanks.