Implement and document the Registry and registry factories.

9 jobs for !2 with registry-factory in 41 seconds (queued for 2 seconds)
detached
Status Job ID Name Coverage
  Pre Check
passed #222211
docker
check code smells

00:00:30

failed #222212
docker
run static checks

00:00:32

 
  Test
skipped #222217
docker allowed to fail
run coverage tests
skipped #222216
docker
run doctests
skipped #222215
docker
run tests: [3.10]
skipped #222213
docker
run tests: [3.8]
skipped #222214
docker
run tests: [3.9]
 
  Build
passed #222218
docker
build documentation in MRs

00:00:28

 
  Publish
passed #222219
publish in our rtd in MRs

00:00:09

 
Name Stage Failure
failed
run static checks Pre Check
xotl/gravity/contrib/models.py:59: error: Argument "name" to "__init_subclass__" of "BaseModel" has incompatible type "Optional[str]"; expected "str"  [arg-type]
xotl/gravity/contrib/models.py: note: In member "__init_subclass__" of class "AbstractModel":
xotl/gravity/contrib/models.py:76: error: Incompatible types in assignment (expression has type "Tuple[Any]", variable has type "Optional[str]") [assignment]
Found 12 errors in 2 files (checked 7 source files)
ERROR: InvocationError for command /builds/merchise/xotl.gravity/.tox/3.8-staticcheck/bin/mypy -p xotl.gravity --config-file mypy.ini (exited with code 1)
___________________________________ summary ____________________________________
ERROR: 3.8-staticcheck: commands failed
Cleaning up file based variables
ERROR: Job failed: exit code 1