Skip to content

Commit

Permalink
Attempt netlify build workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvadm committed May 9, 2024
1 parent d0ba9cc commit 39335ec
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
import os

from .base import cli

from .build import build
from .clean import clean
from .ghpr import ghpr
from .scan import scan

__all__ = [cli, build, clean, ghpr, scan]
__all__ = [cli, build]

# ugly workaround to avoid build failures in Python 3.8
if "NETLIFY" not in os.environ:
from .clean import clean
from .ghpr import ghpr
from .scan import scan

__all__ += [clean, ghpr, scan]

0 comments on commit 39335ec

Please sign in to comment.