chore(configuration.py): fix flake8

12 jobs for topic/default/fix-flake8 in 1 minute and 33 seconds (queued for 7 seconds)
Status Job ID Name Coverage
  Lint
passed yamllint #183598

00:00:52

 
  Tests
passed black #183602

00:00:29

passed check-manifest #183601

00:00:22

passed flake8 #183600

00:00:21

failed mypy #183603

00:00:39

passed py3 #183599

00:00:37

 
  After Tests
skipped trigger-cubicweb-pipeline
skipped trigger-logilab-constraint-pipeline
skipped trigger-logilab-database-pipeline
skipped trigger-logilab-mtconverter-pipeline
skipped trigger-rql-pipeline
skipped trigger-yams-pipeline
 
Name Stage Failure
failed
mypy Tests
logilab/common/optik_ext.py:365: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
logilab/common/optik_ext.py:371: error: Argument 1 to "format_option_strings" of "HelpFormatter" has incompatible type "OptionParser"; expected "Option"
Found 4 errors in 2 files (checked 41 source files)
ERROR: InvocationError for command /builds/open-source/logilab-common/.tox/mypy/bin/mypy --ignore-missing-imports logilab (exited with code 1)
___________________________________ summary ____________________________________
ERROR: mypy: commands failed
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: command terminated with exit code 1