diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e8eb1dc..f1d6b05 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.1.0 + rev: v3.2.0 hooks: - id: check-added-large-files args: ['--maxkb=100'] @@ -10,20 +10,20 @@ repos: - id: debug-statements - id: end-of-file-fixer - repo: https://github.com/asottile/pyupgrade - rev: v2.7.1 + rev: v2.7.2 hooks: - id: pyupgrade args: [--py36-plus] - repo: https://github.com/asottile/reorder_python_imports - rev: v2.3.0 + rev: v2.3.5 hooks: - id: reorder-python-imports - repo: https://github.com/psf/black - rev: 19.10b0 + rev: 20.8b1 hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: v1.7.0 + rev: v1.8.0 hooks: - id: blacken-docs additional_dependencies: [black] @@ -48,9 +48,14 @@ repos: Pygments, ] - repo: https://github.com/PyCQA/doc8 - rev: 0.8.1rc3 + rev: 0.9.0a1 hooks: - id: doc8 +- repo: https://github.com/econchick/interrogate + rev: 1.3.1 + hooks: + - id: interrogate + args: [-v, --fail-under=40, src, tests] - repo: https://github.com/codespell-project/codespell rev: v1.17.1 hooks: diff --git a/CHANGES.rst b/CHANGES.rst index bd8e8ea..d76c45a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -6,7 +6,13 @@ chronological order. Releases follow `semantic versioning ` all releases are available on `Anaconda.org `_. -0.0.2 - 2020-xx-xx +0.0.3 - 2020-xx-xx +------------------ + +:gh:`2` fixes marker description and adds some changes to the readme. + + +0.0.2 - 2020-08-14 ------------------ - :gh:`1` includes some minor changes like fixing the missing version variable. diff --git a/README.rst b/README.rst index 801ddc9..8bf343f 100644 --- a/README.rst +++ b/README.rst @@ -26,7 +26,7 @@ Installation Install the plugin with -.. code-block:: bash +.. code-block:: console $ conda config --add channels conda-forge --add channels pytask $ conda install pytask-r @@ -34,7 +34,7 @@ Install the plugin with You also need to have R installed and ``Rscript`` on your command line. To test whether it is installed, type the following on the command line -.. code-block:: bash +.. code-block:: console $ Rscript --help @@ -43,7 +43,7 @@ choosing either the normal R or Microsoft R Open (MRO). The command is one of th following commands. (See `here `_ for further explanation on Anaconda, R, and MRO.) -.. code-block:: bash +.. code-block:: console $ conda install -c r r-base # For normal R. $ conda install -c r mro-base # For MRO. diff --git a/src/pytask_r/config.py b/src/pytask_r/config.py index 3557c53..57ae49d 100644 --- a/src/pytask_r/config.py +++ b/src/pytask_r/config.py @@ -3,4 +3,4 @@ @hookimpl def pytask_parse_config(config): - config["markers"]["r"] = "r: Tasks which are executed with Rscript." + config["markers"]["r"] = "Tasks which are executed with Rscript."