Skip to content

Commit

Permalink
cosmethics
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzwalthert committed Mar 3, 2021
1 parent de0375f commit e07dfae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
7 changes: 4 additions & 3 deletions testing/resources/r_hooks_repo/.pre-commit-hooks.yaml
Expand Up @@ -20,7 +20,8 @@
name: Say hi
entry: Rscript -e '1+1' -e '3' --no-cache3
language: r
types: [r]# real world
types: [r]
# real world
- id: hello-world
name: Say hi
entry: Rscript hello-world.R
Expand All @@ -32,8 +33,8 @@
entry: |
Rscript -e
'stopifnot(
packageVersion("rprojroot") == "1.0",
packageVersion("gli.clu") == "0.0.0.9000"
packageVersion("rprojroot") == "1.0",
packageVersion("gli.clu") == "0.0.0.9000"
)
cat(commandArgs(trailingOnly = TRUE), "from R!\n", sep = ", ")
'
Expand Down
1 change: 0 additions & 1 deletion tests/languages/r_test.py
Expand Up @@ -97,7 +97,6 @@ def test_r_parsing_expr_args_in_entry2(tempdir_factory, store):


def test_r_parsing_expr_non_Rscirpt(tempdir_factory, store):

with pytest.raises(ValueError) as execinfo:
r._entry_validate(['AnotherScript', '-e', '{{}}'])

Expand Down
2 changes: 0 additions & 2 deletions tests/repository_test.py
Expand Up @@ -349,8 +349,6 @@ def test_run_ruby_hook_with_disable_shared_gems(
tempdir_factory,
store,
tmpdir,


):
"""Make sure a Gemfile in the project doesn't interfere."""
tmpdir.join('Gemfile').write('gem "lol_hai"')
Expand Down

0 comments on commit e07dfae

Please sign in to comment.