implement explicit Optional type hints for =None parameters
Thanks https://github.com/hauntsaninja/no_implicit_optional
This commit is contained in:
parent
669c82a10b
commit
82a87e7ea9
15 changed files with 34 additions and 27 deletions
|
@ -449,7 +449,7 @@ def setup_sources(package: Pkgbuild, lazy: bool = True):
|
|||
def build_package(
|
||||
package: Pkgbuild,
|
||||
arch: Arch,
|
||||
repo_dir: str = None,
|
||||
repo_dir: Optional[str] = None,
|
||||
enable_crosscompile: bool = True,
|
||||
enable_crossdirect: bool = True,
|
||||
enable_ccache: bool = True,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue