Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
yams
Commits
ea5c12869ad3
Commit
1709e289
authored
Jul 28, 2021
by
Laurent Peuch
Browse files
chore(format-source): autoflake the code
parent
5511076db24c
Changes
2
Hide whitespace changes
Inline
Side-by-side
.hg-format-source
View file @
ea5c1286
...
...
@@ -33,3 +33,38 @@
{"pattern": "yams/tools.py", "tool": "autopep8"}
{"pattern": "yams/types.py", "tool": "autopep8"}
{"pattern": "yams/xy.py", "tool": "autopep8"}
{"pattern": "__pkginfo__.py", "tool": "autoflake"}
{"pattern": "docs/conf.py", "tool": "autoflake"}
{"pattern": "setup.py", "tool": "autoflake"}
{"pattern": "test/data/__init__.py", "tool": "autoflake"}
{"pattern": "test/data/dbmodel/__init__.py", "tool": "autoflake"}
{"pattern": "test/data/dbmodel/blog.py", "tool": "autoflake"}
{"pattern": "test/data/schema/Company.py", "tool": "autoflake"}
{"pattern": "test/data/schema/Dates.py", "tool": "autoflake"}
{"pattern": "test/data/schema/State.py", "tool": "autoflake"}
{"pattern": "test/data/schema/__init__.py", "tool": "autoflake"}
{"pattern": "test/data/schema/schema.py", "tool": "autoflake"}
{"pattern": "test/data/schema_post_build_callback.py", "tool": "autoflake"}
{"pattern": "test/data2/__init__.py", "tool": "autoflake"}
{"pattern": "test/data2/schema.py", "tool": "autoflake"}
{"pattern": "test/unittest_constraints.py", "tool": "autoflake"}
{"pattern": "test/unittest_diff.py", "tool": "autoflake"}
{"pattern": "test/unittest_reader.py", "tool": "autoflake"}
{"pattern": "test/unittest_schema.py", "tool": "autoflake"}
{"pattern": "test/unittest_schema2dot.py", "tool": "autoflake"}
{"pattern": "test/unittest_serialize.py", "tool": "autoflake"}
{"pattern": "test/unittest_specialization.py", "tool": "autoflake"}
{"pattern": "test/unittest_xy.py", "tool": "autoflake"}
{"pattern": "yams/__init__.py", "tool": "autoflake"}
{"pattern": "yams/_exceptions.py", "tool": "autoflake"}
{"pattern": "yams/buildobjs.py", "tool": "autoflake"}
{"pattern": "yams/constraints.py", "tool": "autoflake"}
{"pattern": "yams/diff.py", "tool": "autoflake"}
{"pattern": "yams/interfaces.py", "tool": "autoflake"}
{"pattern": "yams/reader.py", "tool": "autoflake"}
{"pattern": "yams/schema.py", "tool": "autoflake"}
{"pattern": "yams/schema2dot.py", "tool": "autoflake"}
{"pattern": "yams/serialize.py", "tool": "autoflake"}
{"pattern": "yams/tools.py", "tool": "autoflake"}
{"pattern": "yams/types.py", "tool": "autoflake"}
{"pattern": "yams/xy.py", "tool": "autoflake"}
yams/reader.py
View file @
ea5c1286
...
...
@@ -313,7 +313,6 @@ class SchemaLoader:
"""called when a file without handler associated has been found,
does nothing by default.
"""
pass
@
deprecation
.
argument_renamed
(
old_name
=
"filepath"
,
new_name
=
"file_path"
)
@
deprecation
.
argument_renamed
(
old_name
=
"defobject"
,
new_name
=
"definition_object"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment