Commit 86f83085 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

chore(format-source): autopep8 the code

parent 6c57b1841c41
{"pattern": "__pkginfo__.py", "tool": "autopep8"}
{"pattern": "docs/conf.py", "tool": "autopep8"}
{"pattern": "setup.py", "tool": "autopep8"}
{"pattern": "test/data/__init__.py", "tool": "autopep8"}
{"pattern": "test/data/dbmodel/__init__.py", "tool": "autopep8"}
{"pattern": "test/data/dbmodel/blog.py", "tool": "autopep8"}
{"pattern": "test/data/schema/Company.py", "tool": "autopep8"}
{"pattern": "test/data/schema/Dates.py", "tool": "autopep8"}
{"pattern": "test/data/schema/State.py", "tool": "autopep8"}
{"pattern": "test/data/schema/__init__.py", "tool": "autopep8"}
{"pattern": "test/data/schema/schema.py", "tool": "autopep8"}
{"pattern": "test/data/schema_post_build_callback.py", "tool": "autopep8"}
{"pattern": "test/data2/__init__.py", "tool": "autopep8"}
{"pattern": "test/data2/schema.py", "tool": "autopep8"}
{"pattern": "test/unittest_constraints.py", "tool": "autopep8"}
{"pattern": "test/unittest_diff.py", "tool": "autopep8"}
{"pattern": "test/unittest_reader.py", "tool": "autopep8"}
{"pattern": "test/unittest_schema.py", "tool": "autopep8"}
{"pattern": "test/unittest_schema2dot.py", "tool": "autopep8"}
{"pattern": "test/unittest_serialize.py", "tool": "autopep8"}
{"pattern": "test/unittest_specialization.py", "tool": "autopep8"}
{"pattern": "test/unittest_xy.py", "tool": "autopep8"}
{"pattern": "yams/__init__.py", "tool": "autopep8"}
{"pattern": "yams/_exceptions.py", "tool": "autopep8"}
{"pattern": "yams/buildobjs.py", "tool": "autopep8"}
{"pattern": "yams/constraints.py", "tool": "autopep8"}
{"pattern": "yams/diff.py", "tool": "autopep8"}
{"pattern": "yams/interfaces.py", "tool": "autopep8"}
{"pattern": "yams/reader.py", "tool": "autopep8"}
{"pattern": "yams/schema.py", "tool": "autopep8"}
{"pattern": "yams/schema2dot.py", "tool": "autopep8"}
{"pattern": "yams/serialize.py", "tool": "autopep8"}
{"pattern": "yams/tools.py", "tool": "autopep8"}
{"pattern": "yams/types.py", "tool": "autopep8"}
{"pattern": "yams/xy.py", "tool": "autopep8"}
......@@ -17,3 +17,4 @@ include *.png
include *.svg
exclude .yamllint
exclude .cube-doctor.yml
exclude .hg-format-source
......@@ -959,7 +959,6 @@ class RelationDefinition(Definition):
package: Optional[str] = None,
**kwargs,
) -> None:
"""kwargs keys must have values in _RELATION_DEFINITION_PROPERTIES()"""
if subject:
self.subject = subject
......
......@@ -147,7 +147,6 @@ class SchemaLoader:
construction_mode: str = "strict",
remove_unused_relation_types: bool = True,
) -> yams_types.Schema:
"""return a schema from the schema definition read from <module_names> (a
list of (PACKAGE, module_name))
"""
......
......@@ -393,7 +393,6 @@ class EntitySchema(PermissionMixIn, ERSchema):
target_type: yams_types.DefinitionName = None,
take_first: bool = False,
) -> yams_types.RelationDefinitionSchema:
"""return a relation definition schema for a relation of this entity type
Notice that when target_type is not specified and the relation may lead
......
......@@ -284,7 +284,6 @@ def schema2dot(
prophdlr=None,
size=None,
) -> Any:
"""write to the output stream a dot graph representing the given schema"""
# mypy: Incompatible types in assignment (expression has type
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment