You've already forked hotpocket
BTHLABS-50: Safari Web extension
Co-authored-by: Tomek Wójcik <labs@tomekwojcik.pl> Co-committed-by: Tomek Wójcik <labs@tomekwojcik.pl>
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import functools
|
||||
import os
|
||||
|
||||
from invoke import task
|
||||
@@ -49,7 +48,7 @@ def isort(ctx, check=False, diff=False):
|
||||
|
||||
@task
|
||||
def eslint(ctx):
|
||||
ctx.run('npx eslint')
|
||||
ctx.run('yarn run eslint')
|
||||
|
||||
|
||||
@task
|
||||
@@ -89,12 +88,7 @@ def django_shell(ctx):
|
||||
def ci(ctx):
|
||||
ihazsuccess = True
|
||||
|
||||
ci_tasks = [
|
||||
test,
|
||||
flake8,
|
||||
functools.partial(isort, check=True),
|
||||
typecheck,
|
||||
]
|
||||
ci_tasks = [test, lint, typecheck]
|
||||
for ci_task in ci_tasks:
|
||||
try:
|
||||
ci_task(ctx)
|
||||
|
||||
Reference in New Issue
Block a user