Skip to content

Commit

Permalink
Add tests for all justfile features
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrieb committed Apr 30, 2023
1 parent 1ce6f52 commit 42d3365
Show file tree
Hide file tree
Showing 3 changed files with 1,134 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# https://coverage.readthedocs.io/en/stable/config.html

[run]
relative_files = True

[report]
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover

# Don't complain if tests don't hit defensive assertion code
raise AssertionError
raise NotImplementedError
raise RuntimeError
raise ValueError

# Don't complain if non-runnable code isn't run
if __name__ == .__main__.:
# main\(

# Ignore unused conditionals
pass
4 changes: 4 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[mypy]

[mypy-parsy]
ignore_missing_imports = True
Loading

0 comments on commit 42d3365

Please sign in to comment.