Skip to content

Commit

Permalink
fix cov server task
Browse files Browse the repository at this point in the history
  • Loading branch information
onerandomusername committed Sep 7, 2021
1 parent 62ac830 commit 2989014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ taskipy = "^1.6.0"

[tool.taskipy.tasks]
black = { cmd = "black --check .", help = "dry run of black" }
pre_cov-server = "coverage html"
cov-server = { cmd = "python -m http.server 8011 --bind 127.0.0.1 --directory htmlcov", help = "Start an http.server for viewing coverage data."}
cov-server = { cmd = "coverage html", help = "Start an http.server for viewing coverage data."}
post_cov-server = "python -m http.server 8012 --bind 127.0.0.1 --directory htmlcov"
flake8 = { cmd = "python -m flake8", help = "Lints code with flake8" }
lint = { cmd = "pre-commit run --all-files", help = "Checks all files for CI errors" }
precommit = { cmd = "pre-commit install --install-hooks", help = "Installs the precommit hook" }
Expand Down

0 comments on commit 2989014

Please sign in to comment.