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
ca31a22f091d
Commit
f5fac710
authored
Jul 28, 2021
by
Laurent Peuch
Browse files
chore(format-source): black the code
parent
42a10ebbf28b
Pipeline
#71923
failed with stages
in 1 minute and 19 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.hg-format-source
View file @
ca31a22f
...
...
@@ -103,3 +103,38 @@
{"pattern": "yams/tools.py", "tool": "pyupgrade"}
{"pattern": "yams/types.py", "tool": "pyupgrade"}
{"pattern": "yams/xy.py", "tool": "pyupgrade"}
{"pattern": "__pkginfo__.py", "tool": "black"}
{"pattern": "docs/conf.py", "tool": "black"}
{"pattern": "setup.py", "tool": "black"}
{"pattern": "test/data/__init__.py", "tool": "black"}
{"pattern": "test/data/dbmodel/__init__.py", "tool": "black"}
{"pattern": "test/data/dbmodel/blog.py", "tool": "black"}
{"pattern": "test/data/schema/Company.py", "tool": "black"}
{"pattern": "test/data/schema/Dates.py", "tool": "black"}
{"pattern": "test/data/schema/State.py", "tool": "black"}
{"pattern": "test/data/schema/__init__.py", "tool": "black"}
{"pattern": "test/data/schema/schema.py", "tool": "black"}
{"pattern": "test/data/schema_post_build_callback.py", "tool": "black"}
{"pattern": "test/data2/__init__.py", "tool": "black"}
{"pattern": "test/data2/schema.py", "tool": "black"}
{"pattern": "test/unittest_constraints.py", "tool": "black"}
{"pattern": "test/unittest_diff.py", "tool": "black"}
{"pattern": "test/unittest_reader.py", "tool": "black"}
{"pattern": "test/unittest_schema.py", "tool": "black"}
{"pattern": "test/unittest_schema2dot.py", "tool": "black"}
{"pattern": "test/unittest_serialize.py", "tool": "black"}
{"pattern": "test/unittest_specialization.py", "tool": "black"}
{"pattern": "test/unittest_xy.py", "tool": "black"}
{"pattern": "yams/__init__.py", "tool": "black"}
{"pattern": "yams/_exceptions.py", "tool": "black"}
{"pattern": "yams/buildobjs.py", "tool": "black"}
{"pattern": "yams/constraints.py", "tool": "black"}
{"pattern": "yams/diff.py", "tool": "black"}
{"pattern": "yams/interfaces.py", "tool": "black"}
{"pattern": "yams/reader.py", "tool": "black"}
{"pattern": "yams/schema.py", "tool": "black"}
{"pattern": "yams/schema2dot.py", "tool": "black"}
{"pattern": "yams/serialize.py", "tool": "black"}
{"pattern": "yams/tools.py", "tool": "black"}
{"pattern": "yams/types.py", "tool": "black"}
{"pattern": "yams/xy.py", "tool": "black"}
docs/conf.py
View file @
ca31a22f
...
...
@@ -17,9 +17,9 @@
# -- Project information -----------------------------------------------------
project
=
'
yams
'
copyright
=
'
2020, Logilab
'
author
=
'
Logilab
'
project
=
"
yams
"
copyright
=
"
2020, Logilab
"
author
=
"
Logilab
"
# -- General configuration ---------------------------------------------------
...
...
@@ -28,19 +28,19 @@ author = 'Logilab'
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions
=
[
'
sphinx.ext.autodoc
'
,
"
sphinx.ext.autodoc
"
,
]
# The master toctree document.
master_doc
=
'
index
'
master_doc
=
"
index
"
# Add any paths that contain templates here, relative to this directory.
templates_path
=
[
'
_templates
'
]
templates_path
=
[
"
_templates
"
]
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns
=
[
'
_build
'
,
'
Thumbs.db
'
,
'
.DS_Store
'
]
exclude_patterns
=
[
"
_build
"
,
"
Thumbs.db
"
,
"
.DS_Store
"
]
# -- Options for HTML output -------------------------------------------------
...
...
@@ -48,9 +48,9 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme
=
'
alabaster
'
html_theme
=
"
alabaster
"
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path
=
[
'
_static
'
]
html_static_path
=
[
"
_static
"
]
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