feat/fix: create a specific type checking dictionary for...

feat/fix: create a specific type checking dictionary for Schema.relation_definitions to enforce API modification
Status Job ID Name Coverage
  Tests
failed #338829
black

00:00:29

passed #338828
check-manifest

00:00:28

failed #338825
flake8

00:00:29

failed #338830
mypy

00:00:52

passed #338826
py3

00:00:52

passed #338827
py3-from-forge

00:00:56

 
  After Tests
skipped trigger-cubicweb-pipeline
 
Name Stage Failure
failed
mypy Tests
/builds/open-source/yams/.tox/mypy/bin/python -m pip install types-setuptools


Found 51 errors in 7 files (checked 13 source files)
ERROR: InvocationError for command /builds/open-source/yams/.tox/mypy/bin/mypy --install-types --non-interactive --ignore-missing-imports yams (exited with code 1)
___________________________________ summary ____________________________________
ERROR: mypy: commands failed
Cleaning up file based variables
ERROR: Job failed: command terminated with exit code 1
failed
black Tests
black run-test: commands[0] | black --check .
would reformat yams/schema.py
Oh no! 💥 💔 💥
1 file would be reformatted, 33 files would be left unchanged.
ERROR: InvocationError for command /builds/open-source/yams/.tox/black/bin/black --check . (exited with code 1)
___________________________________ summary ____________________________________
ERROR: black: commands failed
Cleaning up file based variables
ERROR: Job failed: command terminated with exit code 1
failed
flake8 Tests
flake8 installed: flake8==3.9.2,mccabe==0.6.1,pycodestyle==2.7.0,pyflakes==2.3.1
flake8 run-test-pre: PYTHONHASHSEED='2834960135'
flake8 run-test: commands[0] | flake8
./yams/schema.py:601: [E501] line too long (102 > 100 characters)
ERROR: InvocationError for command /builds/open-source/yams/.tox/flake8/bin/flake8 (exited with code 1)
___________________________________ summary ____________________________________
ERROR: flake8: commands failed
Cleaning up file based variables
ERROR: Job failed: command terminated with exit code 1