File tree Expand file tree Collapse file tree 3 files changed +15
-12
lines changed
Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 11repos :
22- repo : https://github.com/pre-commit/pre-commit-hooks
3- rev : v4.0.1
3+ rev : v4.1.0
44 hooks :
55 - id : check-added-large-files
66 args : ['--maxkb=100']
@@ -22,29 +22,29 @@ repos:
2222 - id : rst-inline-touching-normal
2323 - id : text-unicode-replacement-char
2424- repo : https://github.com/asottile/pyupgrade
25- rev : v2.21.2
25+ rev : v2.31.0
2626 hooks :
2727 - id : pyupgrade
2828 args : [--py36-plus]
2929- repo : https://github.com/asottile/reorder_python_imports
30- rev : v2.5 .0
30+ rev : v2.6 .0
3131 hooks :
3232 - id : reorder-python-imports
3333- repo : https://github.com/asottile/setup-cfg-fmt
34- rev : v1.17 .0
34+ rev : v1.20 .0
3535 hooks :
3636 - id : setup-cfg-fmt
3737- repo : https://github.com/psf/black
38- rev : 21.7b0
38+ rev : 21.12b0
3939 hooks :
4040 - id : black
4141- repo : https://github.com/asottile/blacken-docs
42- rev : v1.10 .0
42+ rev : v1.12 .0
4343 hooks :
4444 - id : blacken-docs
4545 additional_dependencies : [black]
4646- repo : https://github.com/PyCQA/flake8
47- rev : 3.9.2
47+ rev : 4.0.1
4848 hooks :
4949 - id : flake8
5050 types : [python]
@@ -65,11 +65,11 @@ repos:
6565 Pygments,
6666 ]
6767- repo : https://github.com/PyCQA/doc8
68- rev : 0.9.0
68+ rev : 0.10.1
6969 hooks :
7070 - id : doc8
7171- repo : https://github.com/econchick/interrogate
72- rev : 1.4 .0
72+ rev : 1.5 .0
7373 hooks :
7474 - id : interrogate
7575 args : [-v, --fail-under=40, src, tests]
7979 - id : codespell
8080 args : [-L unparseable]
8181- repo : https://github.com/mgedmin/check-manifest
82- rev : " 0.46 "
82+ rev : " 0.47 "
8383 hooks :
8484 - id : check-manifest
8585- repo : meta
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ classifiers =
1919 Programming Language :: Python :: 3.7
2020 Programming Language :: Python :: 3.8
2121 Programming Language :: Python :: 3.9
22+ Programming Language :: Python :: 3.10
2223 Programming Language :: R
2324project_urls =
2425 Changelog = https://github.com/pytask-dev/pytask-r/blob/main/CHANGES.rst
Original file line number Diff line number Diff line change @@ -24,7 +24,9 @@ class DummyTask:
2424def test_pytask_execute_task_setup (monkeypatch , found_r , expectation ):
2525 """Make sure that the task setup raises errors."""
2626 # Act like r is installed since we do not test this.
27- monkeypatch .setattr ("pytask_r.execute.shutil.which" , lambda x : found_r )
27+ monkeypatch .setattr (
28+ "pytask_r.execute.shutil.which" , lambda x : found_r # noqa: U100
29+ )
2830
2931 task = DummyTask ()
3032 task .markers = [Mark ("r" , (), {})]
@@ -95,7 +97,7 @@ def task_run_r_script():
9597 tmp_path .joinpath ("script.r" ).write_text (textwrap .dedent (r_script ))
9698
9799 # Hide Rscript if available.
98- monkeypatch .setattr ("pytask_r.execute.shutil.which" , lambda x : None )
100+ monkeypatch .setattr ("pytask_r.execute.shutil.which" , lambda x : None ) # noqa: U100
99101
100102 session = main ({"paths" : tmp_path })
101103
You can’t perform that action at this time.
0 commit comments