ci: add black check

15 jobs for !45 with topic/default/hg-formatsource in 1 minute and 45 seconds (queued for 7 seconds)
detached
Status Job ID Name Coverage
  Lint
passed black #338667

00:00:38

passed check-manifest #338670

00:00:23

passed flake8 #338668

00:00:37

failed mypy #338669
allowed to fail

00:00:49

passed yamllint #338671

00:00:35

 
  Tests
failed py3 #338895

00:00:38

failed py38 #338899

00:00:48

failed py3 #338672

01:48:32

failed py38 #338673

01:48:30

 
  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
py38 Tests
Uploading artifacts for failed job
Uploading artifacts...
py3-deprecated-warnings.json: found 1 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=338899 responseStatus=201 Created token=ERQ5nT2c
Uploading artifacts...
report.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=338899 responseStatus=201 Created token=ERQ5nT2c
Cleaning up file based variables
ERROR: Job failed: command terminated with exit code 1
failed
py3 Tests
Uploading artifacts for failed job
Uploading artifacts...
py3-deprecated-warnings.json: found 1 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=338895 responseStatus=201 Created token=M93APzk3
Uploading artifacts...
report.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=338895 responseStatus=201 Created token=M93APzk3
Cleaning up file based variables
ERROR: Job failed: command terminated with exit code 1
failed
mypy Lint
logilab/common/optik_ext.py:364: note: This violates the Liskov substitution principle
logilab/common/optik_ext.py:364: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
logilab/common/optik_ext.py:370: error: Argument 1 to "format_option_strings" of "HelpFormatter" has incompatible type "OptionParser"; expected "Option"
Found 6 errors in 3 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
Cleaning up file based variables
ERROR: Job failed: command terminated with exit code 1