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 fbc2a28
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import os

from .base import cli

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

# 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__ = [cli, build, clean, ghpr, scan]

0 comments on commit fbc2a28

Please sign in to comment.