diff --git a/.gitignore b/.gitignore index 994df03..a6e0d6a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ build env __pycache__ -symbiflow diff --git a/.style.yapf b/.style.yapf new file mode 100644 index 0000000..7c04c29 --- /dev/null +++ b/.style.yapf @@ -0,0 +1,8 @@ +[style] +based_on_style = pep8 +split_before_expression_after_opening_paren = True +split_before_first_argument = True +split_complex_comprehension = True +split_penalty_comprehension = 2100 +dedent_closing_brackets=True +indent_dictionary_value=True diff --git a/Makefile b/Makefile index fb745e7..8b6ad8f 100644 --- a/Makefile +++ b/Makefile @@ -27,4 +27,4 @@ format: clean:: rm -rf env/ symbiflow/ -.PHONY: env format clean \ No newline at end of file +.PHONY: env format clean diff --git a/docs/conf.py b/docs/conf.py index 91a576b..6dbc360 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -67,7 +67,10 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] html_show_sourcelink = True html_sidebars = { "**": - ["logo-text.html", "globaltoc.html", "localtoc.html", "searchbox.html"] + [ + "logo-text.html", "globaltoc.html", "localtoc.html", + "searchbox.html" + ] } html_theme = 'sphinx_material'