Skip to content

Commit eeb3009

Browse files
authored
Fix marker description and readme. (#2)
1 parent 3a60787 commit eeb3009

File tree

4 files changed

+22
-11
lines changed

4 files changed

+22
-11
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v3.1.0
3+
rev: v3.2.0
44
hooks:
55
- id: check-added-large-files
66
args: ['--maxkb=100']
@@ -10,20 +10,20 @@ repos:
1010
- id: debug-statements
1111
- id: end-of-file-fixer
1212
- repo: https://github.com/asottile/pyupgrade
13-
rev: v2.7.1
13+
rev: v2.7.2
1414
hooks:
1515
- id: pyupgrade
1616
args: [--py36-plus]
1717
- repo: https://github.com/asottile/reorder_python_imports
18-
rev: v2.3.0
18+
rev: v2.3.5
1919
hooks:
2020
- id: reorder-python-imports
2121
- repo: https://github.com/psf/black
22-
rev: 19.10b0
22+
rev: 20.8b1
2323
hooks:
2424
- id: black
2525
- repo: https://github.com/asottile/blacken-docs
26-
rev: v1.7.0
26+
rev: v1.8.0
2727
hooks:
2828
- id: blacken-docs
2929
additional_dependencies: [black]
@@ -48,9 +48,14 @@ repos:
4848
Pygments,
4949
]
5050
- repo: https://github.com/PyCQA/doc8
51-
rev: 0.8.1rc3
51+
rev: 0.9.0a1
5252
hooks:
5353
- id: doc8
54+
- repo: https://github.com/econchick/interrogate
55+
rev: 1.3.1
56+
hooks:
57+
- id: interrogate
58+
args: [-v, --fail-under=40, src, tests]
5459
- repo: https://github.com/codespell-project/codespell
5560
rev: v1.17.1
5661
hooks:

CHANGES.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ chronological order. Releases follow `semantic versioning <https://semver.org/>`
66
all releases are available on `Anaconda.org <https://anaconda.org/pytask/pytask-r>`_.
77

88

9-
0.0.2 - 2020-xx-xx
9+
0.0.3 - 2020-xx-xx
10+
------------------
11+
12+
:gh:`2` fixes marker description and adds some changes to the readme.
13+
14+
15+
0.0.2 - 2020-08-14
1016
------------------
1117

1218
- :gh:`1` includes some minor changes like fixing the missing version variable.

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ Installation
2626

2727
Install the plugin with
2828

29-
.. code-block:: bash
29+
.. code-block:: console
3030
3131
$ conda config --add channels conda-forge --add channels pytask
3232
$ conda install pytask-r
3333
3434
You also need to have R installed and ``Rscript`` on your command line. To test
3535
whether it is installed, type the following on the command line
3636

37-
.. code-block:: bash
37+
.. code-block:: console
3838
3939
$ Rscript --help
4040
@@ -43,7 +43,7 @@ choosing either the normal R or Microsoft R Open (MRO). The command is one of th
4343
following commands. (See `here <https://docs.anaconda.com/anaconda/user-guide/tasks/
4444
using-r-language>`_ for further explanation on Anaconda, R, and MRO.)
4545

46-
.. code-block:: bash
46+
.. code-block:: console
4747
4848
$ conda install -c r r-base # For normal R.
4949
$ conda install -c r mro-base # For MRO.

src/pytask_r/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
@hookimpl
55
def pytask_parse_config(config):
6-
config["markers"]["r"] = "r: Tasks which are executed with Rscript."
6+
config["markers"]["r"] = "Tasks which are executed with Rscript."

0 commit comments

Comments
 (0)