Skip to content

Commit

Permalink
Merge branch 'develop' into dont-climb-dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoliwa committed Dec 24, 2021
2 parents 870b481 + a6fbb8c commit bc476b9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tasks.py
Expand Up @@ -155,12 +155,6 @@ def test(ctx, coverage=False, browse=False, watch=False):
ctx.run("open htmlcov/index.html")


@task(help={"hook": "Specific hook to run"})
def pre_commit(ctx, hook=""):
"""Run pre-commit for all files."""
ctx.run(f"pre-commit run --all-files {hook}")


@task(
help={
"full": "Run all steps",
Expand Down Expand Up @@ -274,7 +268,7 @@ def lab(ctx):
ctx.run("poetry run python docs/ideas/lab.py")


namespace = Collection(install, update, test, pre_commit, doc, ci_build, lint, clean, reactions, lab)
namespace = Collection(install, update, test, doc, ci_build, lint, clean, reactions, lab)
namespace.configure(
{
"run": {
Expand Down

0 comments on commit bc476b9

Please sign in to comment.