Skip to content

Commit

Permalink
chore: Update python templates to resolve lint issues (#1775)
Browse files Browse the repository at this point in the history
* fix: Update conf.py.j2 template to resolve lint issues with 3rd party imports

* Update noxfile.py.j2 formatting to follow black

---------

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
holtskinner and parthea committed Mar 29, 2023
1 parent 9073cd2 commit 647beb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion synthtool/gcp/templates/python_library/docs/conf.py.j2
Expand Up @@ -370,7 +370,7 @@ intersphinx_mapping = {
"protobuf": ("https://googleapis.dev/python/protobuf/latest/", None),
{%- if intersphinx_dependencies %}
{% for name, url in intersphinx_dependencies.items() %}
"{{ name }}": ("{{ url }}", None),
"{{ name }}": ("{{ url }}", None),
{% endfor %}
{% endif %}
}
Expand Down
3 changes: 1 addition & 2 deletions synthtool/gcp/templates/python_library/noxfile.py.j2
Expand Up @@ -413,8 +413,7 @@ def prerelease_deps(session):
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
session.install(*unit_deps_all)
system_deps_all = (
SYSTEM_TEST_STANDARD_DEPENDENCIES
+ SYSTEM_TEST_EXTERNAL_DEPENDENCIES
SYSTEM_TEST_STANDARD_DEPENDENCIES + SYSTEM_TEST_EXTERNAL_DEPENDENCIES
)
session.install(*system_deps_all)

Expand Down

0 comments on commit 647beb9

Please sign in to comment.