Skip to content

Commit

Permalink
Fisrt utest
Browse files Browse the repository at this point in the history
  • Loading branch information
aaltat committed Mar 29, 2024
1 parent 3379cd7 commit 483d1d9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ lint.select = [

[tool.ruff.lint.per-file-ignores]
"tasks.py" = ["T201"]
"utest/*" = ["INP001"]

[tool.pytest.ini_options]
testpaths = ["utest"]
Expand Down
1 change: 1 addition & 0 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def lint(ctx, fix=False):
ruff_cmd = f"{ruff_cmd} --fix"
ctx.run(ruff_cmd)


@task
def utest(ctx):
ctx.run("pytest .")
2 changes: 2 additions & 0 deletions utest/test_translation.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def test_translation():
pass

0 comments on commit 483d1d9

Please sign in to comment.