Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Commit

Permalink
Fix errors mentioned by flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
asyncee committed Jan 4, 2021
1 parent 79e9de3 commit f73e6c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/swagger_codegen/render/renderers/installable_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ def __init__(

self._project_dir = self._directory / self._package_name
self._valid_python_package_name = underscore(self._package_name)
# second level of nesting is necessary to separate `setup.py` and meta-files (readme, tests etc)
# from the package files (runtime modules)

# Second level of nesting is necessary to separate `setup.py` and
# meta-files (readme, tests etc) from the package files (runtime modules).
self._package_dir = self._project_dir / self._valid_python_package_name
self._package_api_lib_name = "lib"
self._package_api_lib_module_name = (
Expand Down
3 changes: 2 additions & 1 deletion src/swagger_codegen/render/renderers/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ def __init__(
self._project_dir = self._directory / self._package_name
self._package_dir = self._project_dir

# name of a subpackage inside a generated client that provides a lower-level HTTP API implementation
# Name of a subpackage inside a generated client that provides
# a lower-level HTTP API implementation.
self._package_api_lib_name = "api"
self._package_api_lib_module_name = f"swagger_codegen.{self._package_api_lib_name}"

Expand Down

0 comments on commit f73e6c9

Please sign in to comment.