• Tjerk Vreeken's avatar
    Fix formatting of default parameters with types · a93ccfdb
    Tjerk Vreeken authored
    According to Python's formatting rules, default parameters without types
    should have no spaces around the equals operator. However, if the type of
    a parameter _is_ specified, spaces around the operator are required. See
    also PEP-3107 for examples of such code.
    
    Flake8 only started reporting this formatting error starting with version
    3.6 (error code E252), causing our test pipeline to fail even though there
    were no changes to the codebase. This commit makes sure that the
    formatting checks pass again.
    a93ccfdb
Name
Last commit
Last update
doc Loading commit data...
examples Loading commit data...
src/rtctools Loading commit data...
tests Loading commit data...
xsd Loading commit data...
.codecov.yml Loading commit data...
.coveragerc Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
MANIFEST.in Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...
versioneer.py Loading commit data...